@kmkf-fe-packages/services-components 0.10.0-alpha.2 → 0.10.0-alpha.3

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.
@@ -80,6 +80,9 @@ var HandlerDeadLine = /*#__PURE__*/_createClass(function HandlerDeadLine(options
80
80
  }, {
81
81
  label: '未超时',
82
82
  value: 'NOT_TIME_OUT'
83
+ }, {
84
+ label: '未设置',
85
+ value: 'NOT_SET'
83
86
  }];
84
87
  });
85
88
  export default HandlerDeadLine;
@@ -80,6 +80,9 @@ var NodeDeadLine = /*#__PURE__*/_createClass(function NodeDeadLine(options) {
80
80
  }, {
81
81
  label: '未超时',
82
82
  value: 'NOT_TIME_OUT'
83
+ }, {
84
+ label: '未设置',
85
+ value: 'NOT_SET'
83
86
  }];
84
87
  });
85
88
  export default NodeDeadLine;
@@ -12,7 +12,6 @@ import { CopyOutlined } from '@ant-design/icons';
12
12
  import { ApaasInput } from '@kmkf-fe-packages/basic-components';
13
13
  import { filterFn as _filterFn, isNull } from '@kmkf-fe-packages/kmkf-utils';
14
14
  import GetFormItem from "../GetFormItem";
15
- import repeatPng from "./img/repeat.png";
16
15
  import copy from 'copy-to-clipboard';
17
16
  import { SYMBOL } from "../../constant";
18
17
  var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
@@ -35,28 +34,10 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
35
34
  message.success('复制成功');
36
35
  });
37
36
  _defineProperty(this, "renderPc", function (value, record) {
38
- var _record$repeatValueLi;
39
37
  if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) === undefined) {
40
38
  return /*#__PURE__*/React.createElement(React.Fragment, null, "--");
41
39
  }
42
- return /*#__PURE__*/React.createElement("span", null, (record === null || record === void 0 ? void 0 : (_record$repeatValueLi = record.repeatValueList) === null || _record$repeatValueLi === void 0 ? void 0 : _record$repeatValueLi.length) > 0 && /*#__PURE__*/React.createElement("img", {
43
- src: repeatPng,
44
- style: {
45
- width: '16px'
46
- },
47
- alt: "",
48
- onClick: function onClick(e) {
49
- var _this$effects, _this$effects2, _this$effects3, _this$effects4;
50
- // TODO: 前端筛选时的重复提醒版本,等分享页面整改之后,这个将会废弃
51
- typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.handleOpenRepeatList) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.handleOpenRepeatList(record === null || record === void 0 ? void 0 : record.repeatConfig));
52
- typeof (_this === null || _this === void 0 ? void 0 : (_this$effects3 = _this.effects) === null || _this$effects3 === void 0 ? void 0 : _this$effects3.handleOpenRepeatDetail) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects4 = _this.effects) === null || _this$effects4 === void 0 ? void 0 : _this$effects4.handleOpenRepeatDetail({
53
- templateId: record === null || record === void 0 ? void 0 : record.templateId,
54
- workOrderUniqueKey: record === null || record === void 0 ? void 0 : record.id,
55
- fieldList: record === null || record === void 0 ? void 0 : record.repeatValueList
56
- }));
57
- e.stopPropagation();
58
- }
59
- }), /*#__PURE__*/React.createElement(React.Fragment, null, record === null || record === void 0 ? void 0 : record["".concat(_this.id)], /*#__PURE__*/React.createElement("span", {
40
+ return /*#__PURE__*/React.createElement(React.Fragment, null, record === null || record === void 0 ? void 0 : record["".concat(_this.id)], /*#__PURE__*/React.createElement("span", {
60
41
  onClick: function onClick(e) {
61
42
  _this.copyHandle(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
62
43
  e.stopPropagation();
@@ -66,7 +47,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
66
47
  paddingLeft: '4px',
67
48
  cursor: 'pointer'
68
49
  }
69
- }, /*#__PURE__*/React.createElement(CopyOutlined, null)))));
50
+ }, /*#__PURE__*/React.createElement(CopyOutlined, null))));
70
51
  });
71
52
  _defineProperty(this, "renderLog", function (r) {
72
53
  if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id)])) return null;
@@ -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, 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 } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => FlowMarkSelect | StatusSelect | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | TradeId | ErpTradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSendGood | JstSupply | BsSystemOrder | BsGoods | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsTrajectory | PlatForm | ShopInput | Submitter | Handler | CompletedUser | FlowWorkOrderId | CommonTradeId | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration;
3
+ export declare const factory: (type: string, options: PickOption) => CommonMultiStatus | CommonSystemOrder | BasicFile | FlowMarkSelect | HandlerDeadLine | LogisticsInterception | NodeDeadLine | StatusSelect | TradeId | WorkOrderId | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicPosting | CommonDataTime | ErpTradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSendGood | JstSupply | BsSystemOrder | BsGoods | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | TemplateSelect | LogisticsTrajectory | PlatForm | ShopInput | Submitter | Handler | CompletedUser | FlowWorkOrderId | CommonTradeId | Calculation | NodeStayDuration;
@@ -161,7 +161,6 @@ export interface ComponentInterface {
161
161
  effects?: {
162
162
  queryWorkOrderDetail?: (r: Record) => void;
163
163
  handleOpenRepeatList?: (r: Record) => void;
164
- handleOpenRepeatDetail?: (r: Record) => void;
165
164
  handleChangeSingleWorkOrderMark?: (t: string, r: Record) => void;
166
165
  templateList?: any[];
167
166
  isEditing?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "0.10.0-alpha.2",
3
+ "version": "0.10.0-alpha.3",
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": "ffccb9d6a1dcab6b94533309e7869e93b5d62f1b"
43
+ "gitHead": "bfbdec0b09011a9c9fedb9e4577aad0a5887732a"
44
44
  }