@kmkf-fe-packages/services-components 2.1.1 → 2.1.4

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.
@@ -125,7 +125,8 @@ var MsgStatus = /*#__PURE__*/_createClass(function MsgStatus(options) {
125
125
  return item[(_typeMap$_this$type14 = typeMap[_this.type]) === null || _typeMap$_this$type14 === void 0 ? void 0 : _typeMap$_this$type14.valueKey] === option.value;
126
126
  });
127
127
  var key = item.msgType || "ding";
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]) || "");
128
+ 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]) || "");
129
+ return item.failReason ? "".concat(statusMsg, "\uFF0C\u5931\u8D25\u539F\u56E0\uFF1A").concat(item.failReason) : statusMsg;
129
130
  }).join(",");
130
131
  });
131
132
  _defineProperty(this, "editRender", function (p) {
@@ -28,6 +28,9 @@ var typeMap = {
28
28
  },
29
29
  REFUND_TYPE: {
30
30
  key: "orderRefundType"
31
+ },
32
+ EXECUTE_ACTION_TYPE: {
33
+ key: "executeActionType"
31
34
  }
32
35
  };
33
36
  var BasicSelect = /*#__PURE__*/_createClass(function BasicSelect(options) {
@@ -33,6 +33,7 @@ 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":
36
37
  return new BasicSelect(options);
37
38
  case "PICTURE":
38
39
  return new BasicPicture(options);
@@ -19,6 +19,7 @@ export declare enum PlatForm {
19
19
  PDD = "pdd",
20
20
  JD = "jd",
21
21
  XIAOZHI = "xiaozhi",
22
+ WEB = "web",
22
23
  PC = "pc"
23
24
  }
24
25
  export declare type FilterConfigType = {
package/dist/esm/type.js CHANGED
@@ -6,5 +6,6 @@ export var PlatForm;
6
6
  PlatForm["PDD"] = "pdd";
7
7
  PlatForm["JD"] = "jd";
8
8
  PlatForm["XIAOZHI"] = "xiaozhi";
9
+ PlatForm["WEB"] = "web";
9
10
  PlatForm["PC"] = "pc";
10
11
  })(PlatForm || (PlatForm = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "2.1.1",
3
+ "version": "2.1.4",
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.1.1",
25
- "@kmkf-fe-packages/kmkf-utils": "2.1.1",
24
+ "@kmkf-fe-packages/basic-components": "2.1.4",
25
+ "@kmkf-fe-packages/kmkf-utils": "2.1.4",
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": "fbfab5e12781f7bfdc14afe31bdec00598f74202",
44
+ "gitHead": "64a07b000c5491eadc5614ab73542a5e86b30f8a",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }