@kmkf-fe-packages/services-components 2.0.79-beta.6 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  - 针对于自定义组件的后缀,在提交的时候是以组件类型的驼峰式来命名的
4
4
 
5
- ---
5
+ ---
@@ -93,7 +93,7 @@ var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
93
93
  required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
94
94
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
95
95
  display: p === null || p === void 0 ? void 0 : p.display,
96
- 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 : "",
96
+ 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 : '',
97
97
  component: /*#__PURE__*/React.createElement(BuyerNick, _extends({}, _this.componentConfig, {
98
98
  shopId: (_this$effects3 = _this.effects) === null || _this$effects3 === void 0 ? void 0 : _this$effects3.shopId,
99
99
  shopList: (_this$effects4 = _this.effects) === null || _this$effects4 === void 0 ? void 0 : _this$effects4.shopList,
@@ -903,11 +903,11 @@ var GoodHeaderMap = {
903
903
  name: "总金额",
904
904
  transformValue: function transformValue(val, record, parentName) {
905
905
  if (!record) return "--";
906
- return ((record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0)).toFixed(2);
906
+ return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
907
907
  },
908
908
  renderExport: function renderExport(val, record, parentName) {
909
909
  if (!record) return "--";
910
- return ((record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0)).toFixed(2);
910
+ return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
911
911
  }
912
912
  },
913
913
  batchId: "批次号",
@@ -999,11 +999,11 @@ var GoodHeaderMap = {
999
999
  name: "总金额",
1000
1000
  transformValue: function transformValue(val, record, parentName) {
1001
1001
  if (!record) return "--";
1002
- return ((record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0)).toFixed(2);
1002
+ return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
1003
1003
  },
1004
1004
  renderExport: function renderExport(val, record, parentName) {
1005
1005
  if (!record) return "--";
1006
- return ((record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0)).toFixed(2);
1006
+ return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
1007
1007
  }
1008
1008
  },
1009
1009
  batchId: "批次号",
@@ -1,5 +1,5 @@
1
- import { ComponentInterface, PickOption, ColumnConfig, Record } from "../../type";
2
- import React from "react";
1
+ import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
2
+ import React from 'react';
3
3
  declare class WorkOrderId implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -13,8 +13,8 @@ declare class WorkOrderId implements ComponentInterface {
13
13
  formField: string;
14
14
  canSort: boolean;
15
15
  children: ComponentInterface[];
16
- dataType: ComponentInterface["dataType"];
17
- options: ComponentInterface["options"];
16
+ dataType: ComponentInterface['dataType'];
17
+ options: ComponentInterface['options'];
18
18
  constructor(options: PickOption);
19
19
  renderPc: (value: any, record: Record) => React.JSX.Element;
20
20
  renderLog: (r: Record) => React.JSX.Element | null;
@@ -6,11 +6,11 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
6
6
  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; }
7
7
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
8
8
  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); }
9
- import React from "react";
10
- import { ApaasSelect } from "@kmkf-fe-packages/basic-components";
11
- import { filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
9
+ import React from 'react';
10
+ import { ApaasSelect } from '@kmkf-fe-packages/basic-components';
11
+ import { filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
12
12
  import GetFormItem from "../GetFormItem";
13
- import get from "lodash/get";
13
+ import get from 'lodash/get';
14
14
  import { SYMBOL } from "../../constant";
15
15
  // 节点状态
16
16
  var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
@@ -40,10 +40,9 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
40
40
  style: {
41
41
  color: status.color
42
42
  }
43
- }, status === null || status === void 0 ? void 0 : status.label) :
44
- /*#__PURE__*/
43
+ }, status === null || status === void 0 ? void 0 : status.label)
45
44
  // </Dropdown>
46
- React.createElement("span", null, "--");
45
+ : /*#__PURE__*/React.createElement("span", null, "--");
47
46
  });
48
47
  _defineProperty(this, "renderLog", function (r) {
49
48
  var status = get(_this.workOrderStatus, r === null || r === void 0 ? void 0 : r["".concat(_this.id)]);
@@ -56,7 +55,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
56
55
  });
57
56
  _defineProperty(this, "renderExport", function (value, record) {
58
57
  var status = get(_this.workOrderStatus, record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
59
- return status ? status === null || status === void 0 ? void 0 : status.label : "--";
58
+ return status ? status === null || status === void 0 ? void 0 : status.label : '--';
60
59
  });
61
60
  _defineProperty(this, "renderClient", function () {
62
61
  return null;
@@ -70,7 +69,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
70
69
  hidden: p === null || p === void 0 ? void 0 : p.hidden,
71
70
  display: p === null || p === void 0 ? void 0 : p.display,
72
71
  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,
73
- 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 : "",
72
+ 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
73
  component: /*#__PURE__*/React.createElement(ApaasSelect, _extends({}, _this.componentConfig, {
75
74
  placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
76
75
  showSearch: true
@@ -78,7 +77,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
78
77
  });
79
78
  });
80
79
  _defineProperty(this, "filterConfig", function (item) {
81
- var _Object$keys, _Object$keys$filter;
80
+ var _Object$keys;
82
81
  return {
83
82
  searchDefaultConditions: SYMBOL.in,
84
83
  type: item.type,
@@ -86,11 +85,9 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
86
85
  // 过滤组件id
87
86
  name: item.name,
88
87
  // 过滤组件名称
89
- filterComponentType: "MultipleSelect",
88
+ filterComponentType: 'MultipleSelect',
90
89
  props: {
91
- options: (_Object$keys = Object.keys(_this.workOrderStatus)) === null || _Object$keys === void 0 ? void 0 : (_Object$keys$filter = _Object$keys.filter(function (key) {
92
- return key !== "HANDLING";
93
- })) === null || _Object$keys$filter === void 0 ? void 0 : _Object$keys$filter.map(function (item) {
90
+ options: (_Object$keys = Object.keys(_this.workOrderStatus)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.map(function (item) {
94
91
  return {
95
92
  label: _this.workOrderStatus[item].label,
96
93
  value: item
@@ -99,7 +96,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
99
96
  },
100
97
  filterFn: function filterFn(value) {
101
98
  return function (i) {
102
- return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ""));
99
+ return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ''));
103
100
  };
104
101
  }
105
102
  };
@@ -116,33 +113,33 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
116
113
  this.canSort = true;
117
114
  this.children = [];
118
115
  this.workOrderStatus = {
119
- WAITING: {
120
- label: "待处理",
121
- color: "#faad14",
122
- bgColor: "#faad14"
116
+ "WAITING": {
117
+ label: '待处理',
118
+ color: '#faad14',
119
+ bgColor: '#faad14'
123
120
  },
124
- HANDLING: {
125
- label: "处理中",
126
- color: "#1890ff",
127
- bgColor: "#1890ff"
121
+ "HANDLING": {
122
+ label: '处理中',
123
+ color: '#1890ff',
124
+ bgColor: '#1890ff'
128
125
  },
129
- STOPPING: {
130
- label: "暂停中",
131
- color: "#ff4d4f",
132
- bgColor: "#ff4d4f"
126
+ "STOPPING": {
127
+ label: '暂停中',
128
+ color: '#ff4d4f',
129
+ bgColor: '#ff4d4f'
133
130
  },
134
- COMPLETED: {
135
- label: "已完成",
136
- color: "#73d13d",
137
- bgColor: "#73d13d"
131
+ "COMPLETED": {
132
+ label: '已完成',
133
+ color: '#73d13d',
134
+ bgColor: '#73d13d'
138
135
  },
139
- CLOSED: {
140
- label: "已关闭",
141
- color: "rgba(0, 0, 0, 0.65)",
142
- bgColor: "rgba(0, 0, 0, 0.04);"
136
+ "CLOSED": {
137
+ label: '已关闭',
138
+ color: 'rgba(0, 0, 0, 0.65)',
139
+ bgColor: 'rgba(0, 0, 0, 0.04);'
143
140
  }
144
141
  };
145
- this.dataType = "string";
142
+ this.dataType = 'string';
146
143
  this.options = (_Object$keys2 = Object.keys(this.workOrderStatus)) === null || _Object$keys2 === void 0 ? void 0 : _Object$keys2.map(function (item) {
147
144
  return {
148
145
  label: _this.workOrderStatus[item].label,
@@ -176,7 +176,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
176
176
  });
177
177
  _defineProperty(this, "filterConfig", function (item) {
178
178
  var _typeMap$_this$type8, _typeMap$_this$type9, _typeMap$_this$type11;
179
- return [["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "KM_SEND_GOOD", "GY_SEND_GOOD"].includes(_this.type) ? {
179
+ return [["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "GY_SEND_GOOD"].includes(_this.type) ? {
180
180
  searchDefaultConditions: SYMBOL.in,
181
181
  type: item.type,
182
182
  id: "".concat(item.id, "_").concat((_typeMap$_this$type8 = typeMap[_this.type]) === null || _typeMap$_this$type8 === void 0 ? void 0 : _typeMap$_this$type8.sendName),
@@ -14,8 +14,6 @@ declare class MsgStatus implements ComponentInterface {
14
14
  children: ComponentInterface[];
15
15
  dataType: ComponentInterface["dataType"];
16
16
  options: ComponentInterface["options"];
17
- exampleValue?: string;
18
- standardDateType: ComponentInterface["standardDateType"];
19
17
  constructor(options: PickOption);
20
18
  renderClient: (record: any) => React.JSX.Element | null;
21
19
  renderPc: (value: any, record: Record) => React.JSX.Element;
@@ -39,15 +39,10 @@ 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"
51
46
  }],
52
47
  key: "msgStatusValues",
53
48
  code: "msgStatus4Search",
@@ -79,8 +74,6 @@ var MsgStatus = /*#__PURE__*/_createClass(function MsgStatus(options) {
79
74
  _defineProperty(this, "children", void 0);
80
75
  _defineProperty(this, "dataType", void 0);
81
76
  _defineProperty(this, "options", void 0);
82
- _defineProperty(this, "exampleValue", void 0);
83
- _defineProperty(this, "standardDateType", void 0);
84
77
  _defineProperty(this, "renderClient", function (record) {
85
78
  var _typeMap$_this$type, _typeMap$_this$type2, _typeMap$_this$type3;
86
79
  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) {
@@ -132,8 +125,7 @@ var MsgStatus = /*#__PURE__*/_createClass(function MsgStatus(options) {
132
125
  return item[(_typeMap$_this$type14 = typeMap[_this.type]) === null || _typeMap$_this$type14 === void 0 ? void 0 : _typeMap$_this$type14.valueKey] === option.value;
133
126
  });
134
127
  var key = item.msgType || "ding";
135
- var statusMsg = "".concat(msgTypeCh[key]).concat(item.ruleName ? "-".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]) || "");
136
- return item.failReason ? "".concat(statusMsg, "\uFF0C\u5931\u8D25\u539F\u56E0\uFF1A").concat(item.failReason) : statusMsg;
128
+ return "".concat(msgTypeCh[key]).concat(item.ruleName ? "-".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]) || "");
137
129
  }).join(",");
138
130
  });
139
131
  _defineProperty(this, "editRender", function (p) {
@@ -203,7 +195,5 @@ var MsgStatus = /*#__PURE__*/_createClass(function MsgStatus(options) {
203
195
  }] : [];
204
196
  this.align = "left";
205
197
  this.options = (_typeMap$options$type3 = typeMap[options.type]) === null || _typeMap$options$type3 === void 0 ? void 0 : _typeMap$options$type3.options;
206
- this.exampleValue = '{"msgStatus4Search":"["1"]","msgStatusValues":"[{"jobUuid":"1","msgType":"1","msgRuleId":"1","statusKey":"1","ruleName":"1","failReason":"","msgReceivers":[],"status":"1"}]"}';
207
- this.standardDateType = "Object";
208
198
  });
209
199
  export default MsgStatus;
@@ -36,5 +36,6 @@ declare class PaymentAmount implements ComponentInterface {
36
36
  formatFilterValue: (val: Array<number | null>) => (number | null)[];
37
37
  filterFn: (value: string) => (i: Record) => boolean;
38
38
  };
39
+ formDataTransform: (value: string) => string | number;
39
40
  }
40
41
  export default PaymentAmount;
@@ -132,6 +132,10 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
132
132
  }
133
133
  };
134
134
  });
135
+ _defineProperty(this, "formDataTransform", function (value) {
136
+ var isNumber = new RegExp(/^[+-]?\d+(\.\d+)?$/);
137
+ return isNumber.test(value) ? Number(value) : value;
138
+ });
135
139
  this.name = '打款金额';
136
140
  this.id = "".concat(options.id, "_enterprisePaymentRefundFee");
137
141
  this.sortField = "".concat(options.id, "_enterprisePaymentRefundFee");
@@ -28,9 +28,6 @@ var typeMap = {
28
28
  },
29
29
  REFUND_TYPE: {
30
30
  key: "orderRefundType"
31
- },
32
- EXECUTE_ACTION_TYPE: {
33
- key: "executeActionType"
34
31
  }
35
32
  };
36
33
  var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
@@ -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) => BuyerNick | JstSendGood | MsgStatus | BasicSelect | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | TradeId | ShopName | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSupply | BsSystemOrder | BsGoods | 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 | AsyncSelect;
3
+ export declare const factory: (type: string, options: PickOption) => BuyerNick | FlowStatusSelect | JstSendGood | MsgStatus | BasicSelect | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | TradeId | ShopName | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSupply | BsSystemOrder | BsGoods | BsE3Goods | PublicGoods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | BsLogistics | 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 | AsyncSelect;
@@ -33,7 +33,6 @@ export var factory = function factory(type, options) {
33
33
  case "NEW_PAYMENT_STATUS":
34
34
  case "ORDER_TYPE":
35
35
  case "REFUND_TYPE":
36
- case "EXECUTE_ACTION_TYPE":
37
36
  return new BasicSelect(options);
38
37
  case "PICTURE":
39
38
  return new BasicPicture(options);
@@ -19,7 +19,6 @@ export declare enum PlatForm {
19
19
  PDD = "pdd",
20
20
  JD = "jd",
21
21
  XIAOZHI = "xiaozhi",
22
- WEB = "web",
23
22
  PC = "pc"
24
23
  }
25
24
  export declare type FilterConfigType = {
@@ -55,7 +54,6 @@ export interface ComponentInterface {
55
54
  width?: number;
56
55
  align?: ALignType;
57
56
  dataType: "string" | "number" | "boolean" | "array" | "range" | "object" | "weakenArray" | "arrayObject";
58
- standardDateType: "String" | "Number" | "Boolean" | "Array" | "Object";
59
57
  format?: "dateTime" | "date" | "time" | "cascader" | "shopInput" | "staffGroup" | "object";
60
58
  options?: Array<any>;
61
59
  optionsMap?: Record;
@@ -64,7 +62,6 @@ export interface ComponentInterface {
64
62
  workOrderUniqueKey?: string;
65
63
  platform?: PlatForm;
66
64
  parentName?: string;
67
- exampleValue?: any;
68
65
  /**
69
66
  * @description 组件下标
70
67
  * @deprecated 已弃用字段,后续版本不在使用
package/dist/esm/type.js CHANGED
@@ -6,6 +6,5 @@ export var PlatForm;
6
6
  PlatForm["PDD"] = "pdd";
7
7
  PlatForm["JD"] = "jd";
8
8
  PlatForm["XIAOZHI"] = "xiaozhi";
9
- PlatForm["WEB"] = "web";
10
9
  PlatForm["PC"] = "pc";
11
10
  })(PlatForm || (PlatForm = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "2.0.79-beta.6",
3
+ "version": "2.1.0",
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.79-beta.6",
25
- "@kmkf-fe-packages/kmkf-utils": "2.0.79-beta.6",
24
+ "@kmkf-fe-packages/basic-components": "2.1.0",
25
+ "@kmkf-fe-packages/kmkf-utils": "2.1.0",
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": "1278c2bc9ec4d3bdb5af456e2b4d56746c7dede1",
44
+ "gitHead": "4319df5d851141706800d4add90ab6674a05e281",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }