@kmkf-fe-packages/services-components 1.19.8-beta.0 → 1.19.8-beta.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.
|
@@ -1250,6 +1250,7 @@ export var MsgContent = function MsgContent(_ref14) {
|
|
|
1250
1250
|
_ref14$options = _ref14.options,
|
|
1251
1251
|
options = _ref14$options === void 0 ? [] : _ref14$options;
|
|
1252
1252
|
var msgTypeCh = {
|
|
1253
|
+
pdd: '拼多多',
|
|
1253
1254
|
ding: '钉钉',
|
|
1254
1255
|
wechat: '微信',
|
|
1255
1256
|
qq: 'QQ',
|
|
@@ -1294,7 +1295,7 @@ export var MsgContent = function MsgContent(_ref14) {
|
|
|
1294
1295
|
var key = item.msgType || 'ding';
|
|
1295
1296
|
var formatMsgContent = /*#__PURE__*/React.createElement("span", {
|
|
1296
1297
|
key: index
|
|
1297
|
-
}, msgTypeCh[key], "-", item.ruleName, "-", currentOption ? currentOption.label : (item === null || item === void 0 ? void 0 : item[valueKey]) || "");
|
|
1298
|
+
}, msgTypeCh[key] || key, "-", item.ruleName, "-", currentOption ? currentOption.label : (item === null || item === void 0 ? void 0 : item[valueKey]) || "");
|
|
1298
1299
|
return /*#__PURE__*/React.createElement("div", {
|
|
1299
1300
|
key: "wrap_".concat(index),
|
|
1300
1301
|
style: {
|
|
@@ -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) {
|
package/dist/esm/factory.d.ts
CHANGED
|
@@ -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, 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";
|
|
2
2
|
import { PickOption } from "./type";
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) => ActualPayment | BsE3Reissue | BasicPicture | BasicSelect | BasicInput | BasicAddress | BasicCascader | 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 | JstSendGood | JstSupply |
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => ActualPayment | BsSystemOrder | BsE3Goods | BsE3Reissue | MsgStatus | BasicPicture | BasicSelect | BasicInput | BasicAddress | BasicCascader | 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 | JstSendGood | JstSupply | BsGoods | 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 | CommonInput | PaymentVoucherCode | Label | KmErpSendGood | AfterSalesOrderId;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "1.19.8-beta.
|
|
3
|
+
"version": "1.19.8-beta.3",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@kmkf-fe-packages/basic-components": "1.19.8-beta.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "1.19.8-beta.2",
|
|
25
25
|
"@kmkf-fe-packages/kmkf-utils": "1.19.8-beta.0",
|
|
26
26
|
"b64-to-blob": "^1.2.19",
|
|
27
27
|
"html2canvas": "^1.4.1",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "eee883ef93b83bf95c69151eb36b553f0dc41235",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|