@kmkf-fe-packages/services-components 1.22.0 → 1.22.1-beta.10

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.
@@ -39,6 +39,7 @@ var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
39
39
  id: _this.id,
40
40
  label: _this.name,
41
41
  value: /*#__PURE__*/React.createElement(BsGoodsTable, {
42
+ type: _this.type,
42
43
  list: (record === null || record === void 0 ? void 0 : (_record = record["".concat(_this.id)]) === null || _record === void 0 ? void 0 : _record.bsGoods) || [],
43
44
  showHeader: ((_this$componentConfig = _this.componentConfig) === null || _this$componentConfig === void 0 ? void 0 : _this$componentConfig.showHeader) || []
44
45
  })
@@ -51,6 +52,7 @@ var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
51
52
  var _this$componentConfig2;
52
53
  if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_bsGoods")])) return null;
53
54
  return /*#__PURE__*/React.createElement(BsGoodsTable, {
55
+ type: _this.type,
54
56
  list: (r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_bsGoods")]) || [],
55
57
  showHeader: ((_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.showHeader) || []
56
58
  });
@@ -71,7 +73,9 @@ var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
71
73
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
72
74
  display: p === null || p === void 0 ? void 0 : p.display,
73
75
  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 : '',
74
- component: /*#__PURE__*/React.createElement(Goods, _extends({}, _this.componentConfig, {
76
+ component: /*#__PURE__*/React.createElement(Goods, _extends({
77
+ type: _this.type
78
+ }, _this.componentConfig, {
75
79
  maxLength: ((_this$componentConfig5 = _this.componentConfig) === null || _this$componentConfig5 === void 0 ? void 0 : _this$componentConfig5.maxLength) || 20,
76
80
  shopId: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.shopId,
77
81
  shopList: ((_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.shopList) || [],
@@ -11,7 +11,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
11
11
  import React from 'react';
12
12
  import GetFormItem from "../../GetFormItem";
13
13
  import ItemView from "../../../commonComponents/ItemView";
14
- import { isNull, BS_E3_BOOLEAN_STATUS_MAP, BS_E3_ORDER_STATUS_MAP } from '@kmkf-fe-packages/kmkf-utils';
14
+ import { isNull, BS_E3_BOOLEAN_STATUS_MAP, BS_E3_ORDER_STATUS_MAP, KM_SYSTEM_ORDER_CONFIG } from "@kmkf-fe-packages/kmkf-utils";
15
15
  import { BsSystemOrder as SystemOrder } from '@kmkf-fe-packages/basic-components';
16
16
  import { BsSystemOrderTable } from "../../Common";
17
17
  import { BsHeaderChild } from "../common/index";
@@ -19,7 +19,7 @@ import { SYMBOL, batchInput } from "../../../constant";
19
19
  var typeMap = {
20
20
  BS_SYSTEM_ORDER: {
21
21
  key: 'bsSystemShowOrder',
22
- name: 'bs',
22
+ name: '百胜',
23
23
  selectId: 'bsSystemSelectIds',
24
24
  columns: [{
25
25
  title: "单据类型",
@@ -50,6 +50,7 @@ var typeMap = {
50
50
  ]
51
51
  },
52
52
 
53
+ KM_SYSTEM_ORDER: KM_SYSTEM_ORDER_CONFIG,
53
54
  WLN_SYSTEM_ORDER: {
54
55
  key: 'wlnSystemShowOrder',
55
56
  name: '万里牛',
@@ -246,6 +247,7 @@ var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
246
247
  this.canSort = false;
247
248
  this.children = ((_typeMap$options$type = typeMap[options.type]) === null || _typeMap$options$type === void 0 ? void 0 : (_typeMap$options$type2 = _typeMap$options$type.columns) === null || _typeMap$options$type2 === void 0 ? void 0 : _typeMap$options$type2.map(function (column) {
248
249
  return new BsHeaderChild(_objectSpread(_objectSpread({}, options), {}, {
250
+ transformValue: column.render,
249
251
  name: column.title,
250
252
  id: "".concat(options.id, "_").concat(typeMap[options.type].key, "_").concat(column.dataIndex),
251
253
  width: column.width || 150
@@ -13,6 +13,7 @@ declare class BsHeaderChild implements ComponentInterface {
13
13
  canSort: boolean;
14
14
  children: ComponentInterface[];
15
15
  dataType: ComponentInterface['dataType'];
16
+ transformValue: (val: any) => any;
16
17
  constructor(options: PickOption);
17
18
  getParentId: () => string;
18
19
  renderClient: (record: any) => React.JSX.Element | null;
@@ -29,6 +29,9 @@ var BsHeaderChild = /*#__PURE__*/_createClass(function BsHeaderChild(options) {
29
29
  _defineProperty(this, "canSort", void 0);
30
30
  _defineProperty(this, "children", void 0);
31
31
  _defineProperty(this, "dataType", void 0);
32
+ _defineProperty(this, "transformValue", function (val) {
33
+ return val;
34
+ });
32
35
  _defineProperty(this, "getParentId", function () {
33
36
  var _this$id$split = _this.id.split('_'),
34
37
  _this$id$split2 = _slicedToArray(_this$id$split, 3),
@@ -54,7 +57,7 @@ var BsHeaderChild = /*#__PURE__*/_createClass(function BsHeaderChild(options) {
54
57
  return _this.renderPc(undefined, r);
55
58
  });
56
59
  _defineProperty(this, "getComponentValue", function (r) {
57
- return r === null || r === void 0 ? void 0 : r[_this.id];
60
+ return _this.transformValue(r === null || r === void 0 ? void 0 : r[_this.id]);
58
61
  });
59
62
  _defineProperty(this, "renderExport", function (value, record) {
60
63
  var _this$getComponentVal2;
@@ -79,5 +82,8 @@ var BsHeaderChild = /*#__PURE__*/_createClass(function BsHeaderChild(options) {
79
82
  this.canSort = false;
80
83
  this.dataType = 'string';
81
84
  this.children = [];
85
+ if (options.transformValue) {
86
+ this.transformValue = options.transformValue;
87
+ }
82
88
  });
83
89
  export default BsHeaderChild;
@@ -123,6 +123,18 @@ var HeaderMap = {
123
123
  name: "SKU 信息",
124
124
  key: "propertiesName",
125
125
  width: 140
126
+ },
127
+ batch: {
128
+ component: BsHeaderChild,
129
+ name: "批次号",
130
+ key: "batch",
131
+ width: 140
132
+ },
133
+ expireDate: {
134
+ component: BsHeaderChild,
135
+ name: "有效期",
136
+ key: "expireDate",
137
+ width: 140
126
138
  }
127
139
 
128
140
  // title: '商品名称',
@@ -220,7 +232,9 @@ var BsHeaderGods = /*#__PURE__*/_createClass(function BsHeaderGods(options) {
220
232
  money: "实付金额",
221
233
  number: "数量",
222
234
  share: "分摊价",
223
- type: "赠品类型"
235
+ type: "赠品类型",
236
+ batch: "批次号",
237
+ expireDate: "有效期"
224
238
  };
225
239
  this.children = _toConsumableArray(Object.keys(HeaderMap).reduce(function (prv, key) {
226
240
  var _options$componentCon, _options$componentCon2;
@@ -20,6 +20,7 @@ import { CopyToClipboard } from 'react-copy-to-clipboard';
20
20
  import styles from "./index.module.less";
21
21
  import defaultImg from "./img/default-img.png";
22
22
  import CopyText from "../../commonComponents/CopyText";
23
+ import { KM_SYSTEM_ORDER_CONFIG } from '@kmkf-fe-packages/kmkf-utils';
23
24
  var Paragraph = Typography.Paragraph;
24
25
  export var getFormItem = function getFormItem(_ref) {
25
26
  var name = _ref.name,
@@ -258,7 +259,7 @@ export var JstGoodImage = function JstGoodImage(_ref6) {
258
259
  type = _ref6.type,
259
260
  _ref6$platformType = _ref6.platformType,
260
261
  platformType = _ref6$platformType === void 0 ? 'default' : _ref6$platformType;
261
- var getSendName = function getSendName(item, platformType) {
262
+ var getSendName = function getSendName(item) {
262
263
  return SendDataCenter.getInstance(platformType).getSendNameByCode(item.sendName);
263
264
  };
264
265
  return list !== null && list !== void 0 && list.length ? (list || []).map(function (item, index) {
@@ -279,7 +280,7 @@ export var JstGoodImage = function JstGoodImage(_ref6) {
279
280
  text: item.logisticsCode
280
281
  })) : company ? company : item.logisticsCode ? /*#__PURE__*/React.createElement(CopyText, {
281
282
  text: item.logisticsCode
282
- }) : null) : null, type === 2 ? /*#__PURE__*/React.createElement("span", null, item.supplyName && item.supplyId ? [item.supplyId, item.supplyName].join('/') : item.supplyId ? item.supplyId : item.supplyName) : null, type === 3 ? /*#__PURE__*/React.createElement("span", null, item.sendName && item.sendId ? [item.sendId, getSendName(item, 'platformType')].join("/") : item.sendId ? item.sendId : getSendName(item, 'platformType')) : null, type === 4 ? /*#__PURE__*/React.createElement("span", null, (item === null || item === void 0 ? void 0 : item.deliveryNo) || '') : null));
283
+ }) : null) : null, type === 2 ? /*#__PURE__*/React.createElement("span", null, item.supplyName && item.supplyId ? [item.supplyId, item.supplyName].join('/') : item.supplyId ? item.supplyId : item.supplyName) : null, type === 3 ? /*#__PURE__*/React.createElement("span", null, item.sendName && item.sendId ? [item.sendId, getSendName(item)].join("/") : item.sendId ? item.sendId : getSendName(item)) : null, type === 4 ? /*#__PURE__*/React.createElement("span", null, (item === null || item === void 0 ? void 0 : item.deliveryNo) || '') : null));
283
284
  }) : null;
284
285
  };
285
286
  export var BsExpressRender = function BsExpressRender(_ref7) {
@@ -899,6 +900,87 @@ export var BsGoodsTable = function BsGoodsTable(_ref11) {
899
900
  }];
900
901
  }
901
902
  break;
903
+ case 'BS_GOODS':
904
+ columns = [{
905
+ dataIndex: 'mark',
906
+ title: "\u5546\u54C1\u6807\u8BB0",
907
+ align: 'center',
908
+ ellipsis: true,
909
+ width: 100
910
+ }, {
911
+ dataIndex: 'skuName',
912
+ title: "".concat(text, "sku\u540D\u79F0"),
913
+ align: 'center',
914
+ ellipsis: true,
915
+ width: 200
916
+ }, {
917
+ dataIndex: 'sku',
918
+ title: "".concat(text, "sku\u7F16\u7801"),
919
+ align: 'center',
920
+ ellipsis: true,
921
+ width: 100
922
+ }, {
923
+ dataIndex: 'name',
924
+ title: "".concat(text, "\u540D\u79F0"),
925
+ align: 'center',
926
+ ellipsis: true,
927
+ width: 200
928
+ }, {
929
+ dataIndex: 'pic',
930
+ title: "\u56FE\u7247",
931
+ align: 'center',
932
+ ellipsis: true,
933
+ width: 100,
934
+ render: function render(val) {
935
+ return /*#__PURE__*/React.createElement(Image, {
936
+ width: 60,
937
+ src: val
938
+ });
939
+ }
940
+ }, {
941
+ dataIndex: 'code',
942
+ title: "".concat(text, "\u7F16\u7801"),
943
+ align: 'center',
944
+ ellipsis: true,
945
+ width: 100
946
+ }, {
947
+ dataIndex: 'money',
948
+ title: "\u5B9E\u4ED8\u91D1\u989D",
949
+ align: 'center',
950
+ ellipsis: true,
951
+ width: 100
952
+ }, {
953
+ dataIndex: 'number',
954
+ title: "".concat(text, "\u6570\u91CF"),
955
+ align: 'center',
956
+ ellipsis: true,
957
+ width: 100
958
+ }, {
959
+ dataIndex: 'share',
960
+ title: "\u5206\u644A\u4EF7",
961
+ align: 'center',
962
+ ellipsis: true,
963
+ width: 70
964
+ }, {
965
+ dataIndex: 'type',
966
+ title: "\u8D60\u54C1\u7C7B\u578B",
967
+ align: 'center',
968
+ ellipsis: true,
969
+ width: 100
970
+ }, {
971
+ dataIndex: 'batch',
972
+ title: "\u6279\u6B21\u53F7",
973
+ align: 'center',
974
+ ellipsis: true,
975
+ width: 100
976
+ }, {
977
+ dataIndex: 'expireDate',
978
+ title: "\u6709\u6548\u671F",
979
+ align: 'center',
980
+ ellipsis: true,
981
+ width: 100
982
+ }];
983
+ break;
902
984
  default:
903
985
  columns = [{
904
986
  dataIndex: 'mark',
@@ -1149,6 +1231,7 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref13) {
1149
1231
  // },
1150
1232
  ],
1151
1233
 
1234
+ KM_SYSTEM_ORDER: KM_SYSTEM_ORDER_CONFIG.columns,
1152
1235
  WLN_SYSTEM_ORDER: [{
1153
1236
  dataIndex: 'billType',
1154
1237
  title: '单据类型'
@@ -1239,6 +1322,7 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref13) {
1239
1322
  };
1240
1323
  var rowKeyMap = {
1241
1324
  BS_SYSTEM_ORDER: 'billNo',
1325
+ KM_SYSTEM_ORDER: 'billNo',
1242
1326
  WLN_SYSTEM_ORDER: 'billNo',
1243
1327
  WDT_SYSTEM_ORDER: 'billNo',
1244
1328
  BS_E3_SYSTEM_ORDER: 'orderSn'
@@ -1289,6 +1373,7 @@ export var MsgContent = function MsgContent(_ref14) {
1289
1373
  _ref14$options = _ref14.options,
1290
1374
  options = _ref14$options === void 0 ? [] : _ref14$options;
1291
1375
  var msgTypeCh = {
1376
+ pdd: '拼多多',
1292
1377
  ding: '钉钉',
1293
1378
  wechat: '微信',
1294
1379
  qq: 'QQ',
@@ -1333,7 +1418,7 @@ export var MsgContent = function MsgContent(_ref14) {
1333
1418
  var key = item.msgType || 'ding';
1334
1419
  var formatMsgContent = /*#__PURE__*/React.createElement("span", {
1335
1420
  key: index
1336
- }, msgTypeCh[key], "-", item.ruleName, "-", currentOption ? currentOption.label : (item === null || item === void 0 ? void 0 : item[valueKey]) || "");
1421
+ }, msgTypeCh[key] || key, "-", item.ruleName, "-", currentOption ? currentOption.label : (item === null || item === void 0 ? void 0 : item[valueKey]) || "");
1337
1422
  return /*#__PURE__*/React.createElement("div", {
1338
1423
  key: "wrap_".concat(index),
1339
1424
  style: {
@@ -13,6 +13,7 @@ declare class CommonMultiStatus implements ComponentInterface {
13
13
  canSort: boolean;
14
14
  children: ComponentInterface[];
15
15
  dataType: ComponentInterface['dataType'];
16
+ isSingleValue: boolean;
16
17
  constructor(options: PickOption);
17
18
  renderClient: (record: any) => React.JSX.Element | null;
18
19
  renderPc: (value: any, record: Record) => React.JSX.Element;
@@ -74,13 +74,40 @@ var typeMap = {
74
74
  valueKey: 'status',
75
75
  idKey: 'systemOrderId',
76
76
  failValue: '失败'
77
+ },
78
+ BS_E3_WAREHOUSING_STATUS: {
79
+ options: [{
80
+ value: '2',
81
+ label: '已入库',
82
+ color: '#52c41a'
83
+ }, {
84
+ value: '1',
85
+ label: '部分入库',
86
+ color: '#e7780f'
87
+ }, {
88
+ value: '0',
89
+ label: '未入库',
90
+ color: '#ff4d4f'
91
+ }, {
92
+ value: '3',
93
+ label: '已退回给客户',
94
+ color: '#1B5BF3'
95
+ }],
96
+ key: 'bsE3InStockStatusItemList',
97
+ code: 'bsE3InStockStatusList',
98
+ name: '商品入库状态',
99
+ type: 2,
100
+ valueKey: 'status',
101
+ idKey: 'systemOrderId',
102
+ failValue: '失败'
77
103
  }
78
104
  };
79
105
  var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(options) {
80
106
  var _this = this,
81
107
  _typeMap$options$type,
82
108
  _typeMap$options$type2,
83
- _this$componentConfig8;
109
+ _this$componentConfig5,
110
+ _this$componentConfig6;
84
111
  _classCallCheck(this, CommonMultiStatus);
85
112
  _defineProperty(this, "name", void 0);
86
113
  _defineProperty(this, "id", void 0);
@@ -94,8 +121,9 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
94
121
  _defineProperty(this, "canSort", void 0);
95
122
  _defineProperty(this, "children", void 0);
96
123
  _defineProperty(this, "dataType", void 0);
124
+ _defineProperty(this, "isSingleValue", void 0);
97
125
  _defineProperty(this, "renderClient", function (record) {
98
- var _typeMap$_this$type, _typeMap$_this$type2, _typeMap$_this$type3, _this$componentConfig;
126
+ var _typeMap$_this$type, _typeMap$_this$type2, _typeMap$_this$type3;
99
127
  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
128
  return !isNull(item);
101
129
  }) : false;
@@ -107,12 +135,12 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
107
135
  valueKey: (_typeMap$_this$type = typeMap[_this.type]) === null || _typeMap$_this$type === void 0 ? void 0 : _typeMap$_this$type.valueKey,
108
136
  failValue: (_typeMap$_this$type2 = typeMap[_this.type]) === null || _typeMap$_this$type2 === void 0 ? void 0 : _typeMap$_this$type2.failValue,
109
137
  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"
138
+ isShowPopover: !_this.isSingleValue
111
139
  })
112
140
  }) : null;
113
141
  });
114
142
  _defineProperty(this, "renderPc", function (value, record) {
115
- var _typeMap$_this$type4, _typeMap$_this$type5, _typeMap$_this$type6, _typeMap$_this$type7, _this$componentConfig2;
143
+ var _typeMap$_this$type4, _typeMap$_this$type5, _typeMap$_this$type6, _typeMap$_this$type7;
116
144
  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)];
117
145
  //兼容多个商品
118
146
  return /*#__PURE__*/React.createElement("span", {
@@ -124,7 +152,7 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
124
152
  valueKey: (_typeMap$_this$type5 = typeMap[_this.type]) === null || _typeMap$_this$type5 === void 0 ? void 0 : _typeMap$_this$type5.valueKey,
125
153
  failValue: (_typeMap$_this$type6 = typeMap[_this.type]) === null || _typeMap$_this$type6 === void 0 ? void 0 : _typeMap$_this$type6.failValue,
126
154
  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"
155
+ isShowPopover: !_this.isSingleValue
128
156
  }));
129
157
  });
130
158
  _defineProperty(this, "renderLog", function (r) {
@@ -141,12 +169,12 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
141
169
  var _typeMap$_this$type10;
142
170
  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)];
143
171
  return (list || []).map(function (item) {
144
- var _typeMap$_this$type11, _typeMap$_this$type12, _typeMap$_this$type13, _this$componentConfig3, _typeMap$_this$type16, _typeMap$_this$type17;
172
+ var _typeMap$_this$type11, _typeMap$_this$type12, _typeMap$_this$type13, _typeMap$_this$type16, _typeMap$_this$type17;
145
173
  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) {
146
174
  var _typeMap$_this$type14;
147
175
  return item[(_typeMap$_this$type14 = typeMap[_this.type]) === null || _typeMap$_this$type14 === void 0 ? void 0 : _typeMap$_this$type14.valueKey] === option.value;
148
176
  });
149
- if (((_this$componentConfig3 = _this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.belongType) === "wdt") {
177
+ if (_this.isSingleValue) {
150
178
  var _typeMap$_this$type15;
151
179
  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
180
  }
@@ -154,15 +182,15 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
154
182
  }).join(',');
155
183
  });
156
184
  _defineProperty(this, "editRender", function (p) {
157
- var _this$componentConfig4, _this$componentConfig5, _this$componentConfig6, _this$componentConfig7, _typeMap$_this$type18;
185
+ var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4, _typeMap$_this$type18;
158
186
  return /*#__PURE__*/React.createElement(GetFormItem, {
159
187
  title: _this.name,
160
188
  name: _this.id,
161
189
  rules: _this.rules,
162
190
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
163
191
  display: p === null || p === void 0 ? void 0 : p.display,
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,
165
- tooltip: (_this$componentConfig6 = _this.componentConfig) !== null && _this$componentConfig6 !== void 0 && _this$componentConfig6.showTooltip ? (_this$componentConfig7 = _this.componentConfig) === null || _this$componentConfig7 === void 0 ? void 0 : _this$componentConfig7.tooltip : '',
192
+ 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,
193
+ 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 : '',
166
194
  component: /*#__PURE__*/React.createElement(Status, _extends({}, _this.componentConfig, {
167
195
  type: (_typeMap$_this$type18 = typeMap[_this.type]) === null || _typeMap$_this$type18 === void 0 ? void 0 : _typeMap$_this$type18.type,
168
196
  failValue: typeMap[_this.type].failValue
@@ -172,11 +200,11 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
172
200
  _defineProperty(this, "filterConfig", function (item) {
173
201
  var _typeMap$_this$type19, _item$templateConfig;
174
202
  return {
175
- searchDefaultConditions: _this.type === 'WAREHOUSING_STATUS' ? SYMBOL.in : SYMBOL.like,
203
+ searchDefaultConditions: ['BS_E3_WAREHOUSING_STATUS', 'WAREHOUSING_STATUS'].includes(_this.type) ? SYMBOL.in : SYMBOL.like,
176
204
  type: item.type,
177
205
  id: "".concat(item.id, "_").concat((_typeMap$_this$type19 = typeMap[_this.type]) === null || _typeMap$_this$type19 === void 0 ? void 0 : _typeMap$_this$type19.code),
178
206
  name: "".concat(_this.name),
179
- filterComponentType: _this.type === 'WAREHOUSING_STATUS' ? 'MultipleSelect' : 'SelectInput',
207
+ filterComponentType: ['BS_E3_WAREHOUSING_STATUS', 'WAREHOUSING_STATUS'].includes(_this.type) ? 'MultipleSelect' : 'SelectInput',
180
208
  props: {
181
209
  options: item === null || item === void 0 ? void 0 : (_item$templateConfig = item.templateConfig) === null || _item$templateConfig === void 0 ? void 0 : _item$templateConfig.reasonList,
182
210
  fieldNames: {
@@ -190,7 +218,7 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
190
218
  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);
191
219
  };
192
220
  },
193
- formatFilterValue: _this.type === 'WAREHOUSING_STATUS' ? null : function (value) {
221
+ formatFilterValue: ['BS_E3_WAREHOUSING_STATUS', 'WAREHOUSING_STATUS'].includes(_this.type) ? null : function (value) {
194
222
  if (value.type === 'keywords') {
195
223
  return value.keywords;
196
224
  } else {
@@ -211,7 +239,7 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
211
239
  this.canSort = false;
212
240
  this.children = [];
213
241
  this.dataType = 'object';
214
- this.rules = (_this$componentConfig8 = this.componentConfig) !== null && _this$componentConfig8 !== void 0 && _this$componentConfig8.required ? [{
242
+ this.rules = (_this$componentConfig5 = this.componentConfig) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.required ? [{
215
243
  required: true,
216
244
  validator: function validator(_, value) {
217
245
  var hasNo = (value || []).some(function (item) {
@@ -226,5 +254,6 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
226
254
  }
227
255
  }] : [];
228
256
  this.align = 'left';
257
+ this.isSingleValue = ((_this$componentConfig6 = this.componentConfig) === null || _this$componentConfig6 === void 0 ? void 0 : _this$componentConfig6.belongType) === "wdt" || this.type === 'BS_E3_WAREHOUSING_STATUS';
229
258
  });
230
259
  export default CommonMultiStatus;
@@ -57,12 +57,12 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(_options) {
57
57
  name: "物流公司",
58
58
  key: "".concat(options.id, "_").concat((_typeMap$options$type = typeMap[options.type]) === null || _typeMap$options$type === void 0 ? void 0 : _typeMap$options$type.company),
59
59
  options: _this.expressDateInstance.getExpressData(),
60
- dataType: "string",
60
+ dataType: "arrayObject",
61
61
  disabled: type === "logisticsCode"
62
62
  }, {
63
63
  name: "物流单号",
64
64
  key: "".concat(options.id, "_").concat((_typeMap$options$type2 = typeMap[options.type]) === null || _typeMap$options$type2 === void 0 ? void 0 : _typeMap$options$type2.code),
65
- dataType: "string",
65
+ dataType: "arrayObject",
66
66
  disabled: type === "logisticsCompany"
67
67
  }];
68
68
  });
@@ -121,7 +121,7 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(_options) {
121
121
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
122
122
  display: p === null || p === void 0 ? void 0 : p.display,
123
123
  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,
124
- tooltip: (_this$componentConfig5 = _this.componentConfig) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.showTooltip ? (_this$componentConfig6 = _this.componentConfig) === null || _this$componentConfig6 === void 0 ? void 0 : _this$componentConfig6.tooltip : '',
124
+ tooltip: (_this$componentConfig5 = _this.componentConfig) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.showTooltip ? (_this$componentConfig6 = _this.componentConfig) === null || _this$componentConfig6 === void 0 ? void 0 : _this$componentConfig6.tooltip : "",
125
125
  component: /*#__PURE__*/React.createElement(JstGoods, _extends({}, _this.componentConfig, {
126
126
  type: 1,
127
127
  options: _this.expressDateInstance.getExpressData(),
@@ -43,6 +43,13 @@ var typeMap = {
43
43
  sendName: "wlnSendName",
44
44
  platformType: 'default'
45
45
  },
46
+ KM_SEND_GOOD: {
47
+ key: "kmSendGood",
48
+ name: "km",
49
+ sendId: "kmSendId",
50
+ sendName: "kmSendName",
51
+ platformType: 'km'
52
+ },
46
53
  WDT_SEND_GOOD: {
47
54
  key: "wdtSendGood",
48
55
  name: "wdt",
@@ -39,10 +39,15 @@ var typeMap = {
39
39
  label: '等待执行',
40
40
  color: '#e7780f'
41
41
  }, {
42
- oldValue: '等待发送',
42
+ oldValue: '不满足条件,无需执行',
43
43
  value: '不满足条件,无需执行',
44
44
  label: '不满足条件,无需执行',
45
45
  color: '#8A8A8A'
46
+ }, {
47
+ oldValue: '暂不满足条件,等待执行',
48
+ value: '暂不满足条件,等待执行',
49
+ label: '暂不满足条件,等待执行',
50
+ color: '#4D90F7'
46
51
  }],
47
52
  key: 'msgStatusValues',
48
53
  code: 'msgStatus4Search',
@@ -55,6 +60,7 @@ var typeMap = {
55
60
  }
56
61
  };
57
62
  var msgTypeCh = {
63
+ pdd: '拼多多',
58
64
  ding: '钉钉',
59
65
  wechat: '微信',
60
66
  qq: 'QQ',
@@ -134,7 +140,7 @@ var MsgStatus = /*#__PURE__*/_createClass(function MsgStatus(options) {
134
140
  return item[(_typeMap$_this$type14 = typeMap[_this.type]) === null || _typeMap$_this$type14 === void 0 ? void 0 : _typeMap$_this$type14.valueKey] === option.value;
135
141
  });
136
142
  var key = item.msgType || 'ding';
137
- return "".concat(msgTypeCh[key], "-").concat(item.ruleName, ":").concat(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]) || '');
143
+ return "".concat(msgTypeCh[key] || key, "-").concat(item.ruleName, ":").concat(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]) || '');
138
144
  }).join(',');
139
145
  });
140
146
  _defineProperty(this, "editRender", function (p) {
@@ -13,7 +13,7 @@ declare class BasicPicture implements ComponentInterface {
13
13
  canSort: boolean;
14
14
  children: ComponentInterface[];
15
15
  dataType: ComponentInterface["dataType"];
16
- currenEnv: ComponentInterface['platform'];
16
+ currenEnv: ComponentInterface["platform"];
17
17
  constructor(options: PickOption);
18
18
  formatPictures: (pictures: string) => string[];
19
19
  render: (value: Value) => React.JSX.Element | null;
@@ -41,9 +41,9 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
41
41
  return null;
42
42
  }
43
43
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Image.PreviewGroup, {
44
- preview: _this.currenEnv === 'ks' ? {
45
- getContainer: (_document = document) === null || _document === void 0 ? void 0 : _document.getElementById('root')
46
- } : false
44
+ preview: _this.currenEnv === "ks" ? {
45
+ getContainer: (_document = document) === null || _document === void 0 ? void 0 : _document.getElementById("root")
46
+ } : true
47
47
  }, value === null || value === void 0 ? void 0 : value.map(function (pic) {
48
48
  return /*#__PURE__*/React.createElement("div", {
49
49
  style: {
@@ -61,7 +61,8 @@ var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
61
61
  if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(typeMap[type])]) === undefined) {
62
62
  return "--";
63
63
  }
64
- return "".concat(record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(typeMap[type])], " ").concat(get(record, "".concat(_this.id, "_").concat(typeMap[type], "Other"), ""));
64
+ var other = get(record, "".concat(_this.id, "_").concat(typeMap[type], "Other"), "");
65
+ return "".concat(record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat(typeMap[type])]).concat(other ? " " + other : "");
65
66
  });
66
67
  _defineProperty(this, "getKeyByComponentType", function (type) {
67
68
  return typeMap[type] || "";
@@ -82,7 +83,7 @@ var BasicRadio = /*#__PURE__*/_createClass(function BasicRadio(options) {
82
83
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
83
84
  display: p === null || p === void 0 ? void 0 : p.display,
84
85
  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,
85
- 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 : '',
86
+ 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 : "",
86
87
  component: /*#__PURE__*/React.createElement(ApaasRadio, _extends({}, _this.componentConfig, {
87
88
  onChange: p === null || p === void 0 ? void 0 : p.onChange
88
89
  }))
@@ -1,3 +1,3 @@
1
- import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, 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, KmErpSendGood, AfterSalesOrderId, BsE3Goods, BsE3Reissue } from "./index";
1
+ import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, 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, AfterSalesOrderId, BsE3Goods, BsE3Reissue } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => ActualPayment | BsLogistics | BsSystemOrder | BsE3Reissue | BasicCascader | JstSendGood | KmErpSendGood | BasicPicture | BasicSelect | BasicInput | BasicAddress | BasicCheckbox | BasicDataTime | BasicRadio | BasicTextArea | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSupply | BsGoods | BsE3Goods | BsExchange | BsReissue | BsReturn | 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 | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | CommonInput | PaymentVoucherCode | Label | AfterSalesOrderId;
3
+ export declare const factory: (type: string, options: PickOption) => BsGoods | CommonMultiStatus | ItemEnCode | BasicInput | JstLogistics | JstSendGood | MsgStatus | BasicPicture | BasicRadio | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicTextArea | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstItemSelect | JstSupply | BsSystemOrder | BsE3Goods | 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 | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | CommonInput | PaymentVoucherCode | Label | AfterSalesOrderId;
@@ -1,6 +1,6 @@
1
1
  import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, SubForm, 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, LogisticsMoreInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect,
2
2
  // CommonTradeId,
3
- CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, KmErpSendGood, AfterSalesOrderId, BsE3Goods, BsE3Reissue } from "./index";
3
+ CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, AfterSalesOrderId, BsE3Goods, BsE3Reissue } from "./index";
4
4
  export var factory = function factory(type, options) {
5
5
  var _options$componentCon;
6
6
  switch (type) {
@@ -130,6 +130,7 @@ export var factory = function factory(type, options) {
130
130
  case "JST_SUPPLY":
131
131
  return new JstSupply(options);
132
132
  case "BS_SYSTEM_ORDER":
133
+ case "KM_SYSTEM_ORDER":
133
134
  case "WLN_SYSTEM_ORDER":
134
135
  case "WDT_SYSTEM_ORDER":
135
136
  case "BS_E3_SYSTEM_ORDER":
@@ -139,6 +140,7 @@ export var factory = function factory(type, options) {
139
140
  case "BS_E3_SEND_GOOD":
140
141
  case "WLN_SEND_GOOD":
141
142
  case "WDT_SEND_GOOD":
143
+ case "KM_SEND_GOOD":
142
144
  return new JstSendGood(options);
143
145
  case "BS_POSTING":
144
146
  return new BsPosting(options);
@@ -185,6 +187,7 @@ export var factory = function factory(type, options) {
185
187
  case "RETURN_GOODS_STATUS":
186
188
  case "EXCHANGE_STATUS":
187
189
  case "WAREHOUSING_STATUS":
190
+ case "BS_E3_WAREHOUSING_STATUS":
188
191
  return new CommonMultiStatus(options);
189
192
  case "MSG_STATUS":
190
193
  return new MsgStatus(options);
@@ -222,9 +225,8 @@ export var factory = function factory(type, options) {
222
225
  return new PaymentVoucherCode(options);
223
226
  case "LABEL":
224
227
  return new Label(options);
225
- case "KM_SEND_GOOD":
226
- // 快麦ERP发货仓
227
- return new KmErpSendGood(options);
228
+ // case "KM_SEND_GOOD": // 快麦ERP发货仓
229
+ // return new KmErpSendGood(options);
228
230
  case "AFTER_SALES_ORDER_ID":
229
231
  // 售后单ID
230
232
  return new AfterSalesOrderId(options);
@@ -29,6 +29,7 @@ export declare type FilterConfigType = {
29
29
  };
30
30
  export declare type FilterComponentType = "MultipleSelect" | "Input" | "Date" | "Cascader" | "ShopList" | "Rate" | "SelectInput";
31
31
  export interface ComponentInterface {
32
+ transformValue?: (val: any) => any;
32
33
  id: string;
33
34
  sortField: string;
34
35
  sortChildField?: {
@@ -269,7 +270,7 @@ export interface ComponentInterface {
269
270
  getComponentValue: (r: Record) => any;
270
271
  formDataTransform?: (r: any) => any;
271
272
  }
272
- export declare type PickOption = Pick<ComponentInterface, "name" | "id" | "type" | "componentConfig" | "effects" | "columnHeader" | "templateId" | "workOrderUniqueKey" | "platform" | "parentName" | "width" | "flowTemplateKey">;
273
+ export declare type PickOption = Pick<ComponentInterface, "name" | "id" | "type" | "componentConfig" | "effects" | "columnHeader" | "templateId" | "workOrderUniqueKey" | "platform" | "parentName" | "width" | "flowTemplateKey" | "transformValue">;
273
274
  export declare type ColumnConfig = {
274
275
  id: string;
275
276
  name: string;
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "1.22.0",
3
+ "version": "1.22.1-beta.10",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
7
7
  "dist"
8
8
  ],
9
9
  "scripts": {
10
- "sync": "yarn build && yalc push",
11
10
  "build": "yarn run lint && father build",
12
11
  "lint": "eslint '**/*.{ts,tsx}'",
13
- "lint:fix": "eslint --fix '**/*.{ts,tsx}'"
12
+ "lint:fix": "eslint --fix '**/*.{ts,tsx}'",
13
+ "sync": "yarn build && yalc push"
14
14
  },
15
15
  "lint-staged": {
16
16
  "*.{js,jsx,less,md,json}": [
@@ -21,8 +21,8 @@
21
21
  ]
22
22
  },
23
23
  "dependencies": {
24
- "@kmkf-fe-packages/basic-components": "1.22.0",
25
- "@kmkf-fe-packages/kmkf-utils": "1.22.0",
24
+ "@kmkf-fe-packages/basic-components": "1.22.1-beta.10",
25
+ "@kmkf-fe-packages/kmkf-utils": "1.22.1-beta.10",
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": "71df1a3bb82c29f2f459f69c5a61c14f1671ccff",
44
+ "gitHead": "143523e8020568c583dfb07a1044dc12ade967ee",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }