@kmkf-fe-packages/services-components 1.17.5-beta.15 → 1.17.5-beta.18
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/dist/esm/components/JST/JstSendGood/index.d.ts +3 -0
- package/dist/esm/components/JST/JstSendGood/index.js +9 -1
- package/dist/esm/components/LogisticsInterception/InterceptApiStatus.js +1 -3
- package/dist/esm/components/MsgStatus/index.js +4 -0
- package/dist/esm/factory.d.ts +1 -1
- package/package.json +4 -4
|
@@ -202,6 +202,14 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
|
202
202
|
}
|
|
203
203
|
}];
|
|
204
204
|
});
|
|
205
|
+
_defineProperty(this, "formDataTransform", function (v) {
|
|
206
|
+
var _v$map;
|
|
207
|
+
return v === null || v === void 0 ? void 0 : (_v$map = v.map(function (item) {
|
|
208
|
+
return item.sendName;
|
|
209
|
+
})) === null || _v$map === void 0 ? void 0 : _v$map.filter(function (item) {
|
|
210
|
+
return !isNull(item);
|
|
211
|
+
});
|
|
212
|
+
});
|
|
205
213
|
this.name = _options.name;
|
|
206
214
|
this.id = _options.id;
|
|
207
215
|
this.sortField = "".concat(_options.id, "_").concat((_typeMap$_options$typ = typeMap[_options.type]) === null || _typeMap$_options$typ === void 0 ? void 0 : _typeMap$_options$typ.key);
|
|
@@ -209,7 +217,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
|
209
217
|
this.componentConfig = _options.componentConfig;
|
|
210
218
|
this.sortChildField = this.getSortChildFields(((_this$componentConfig3 = this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.showField) || '', _options, _options.type);
|
|
211
219
|
this.type = _options.type;
|
|
212
|
-
this.dataType = "
|
|
220
|
+
this.dataType = "array";
|
|
213
221
|
this.rules = (_this$componentConfig4 = this.componentConfig) !== null && _this$componentConfig4 !== void 0 && _this$componentConfig4.required ? [{
|
|
214
222
|
required: true,
|
|
215
223
|
validator: function validator(_, value) {
|
|
@@ -44,9 +44,7 @@ var InterceptApiStatus = /*#__PURE__*/_createClass(function InterceptApiStatus(o
|
|
|
44
44
|
style: {
|
|
45
45
|
color: statusColor
|
|
46
46
|
}
|
|
47
|
-
}, record === null || record === void 0 ? void 0 : (_record$interceptLogi3 = record.interceptLogisticsApiStatus) === null || _record$interceptLogi3 === void 0 ? void 0 : _record$interceptLogi3.status, record !== null && record !== void 0 && (_record$interceptLogi4 = record.interceptLogisticsApiStatus) !== null && _record$interceptLogi4 !== void 0 && _record$interceptLogi4.reason ? /*#__PURE__*/React.createElement("span",
|
|
48
|
-
className: "c-red"
|
|
49
|
-
}, ",", (record === null || record === void 0 ? void 0 : (_record$interceptLogi5 = record.interceptLogisticsApiStatus) === null || _record$interceptLogi5 === void 0 ? void 0 : _record$interceptLogi5.reason) || "") : null))
|
|
47
|
+
}, record === null || record === void 0 ? void 0 : (_record$interceptLogi3 = record.interceptLogisticsApiStatus) === null || _record$interceptLogi3 === void 0 ? void 0 : _record$interceptLogi3.status, record !== null && record !== void 0 && (_record$interceptLogi4 = record.interceptLogisticsApiStatus) !== null && _record$interceptLogi4 !== void 0 && _record$interceptLogi4.reason ? /*#__PURE__*/React.createElement("span", null, ",", (record === null || record === void 0 ? void 0 : (_record$interceptLogi5 = record.interceptLogisticsApiStatus) === null || _record$interceptLogi5 === void 0 ? void 0 : _record$interceptLogi5.reason) || "") : null))
|
|
50
48
|
}) : null;
|
|
51
49
|
});
|
|
52
50
|
_defineProperty(this, "renderPc", function (value, r) {
|
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 } from "./index";
|
|
2
2
|
import { PickOption } from "./type";
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) =>
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => BasicCascader | StatusSelect | TradeId | BasicInput | BasicAddress | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | 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 | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | 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.17.5-beta.
|
|
3
|
+
"version": "1.17.5-beta.18",
|
|
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": "1.17.5-beta.
|
|
25
|
-
"@kmkf-fe-packages/kmkf-utils": "1.17.5-beta.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "1.17.5-beta.17",
|
|
25
|
+
"@kmkf-fe-packages/kmkf-utils": "1.17.5-beta.16",
|
|
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": "
|
|
44
|
+
"gitHead": "b08ba90de19810cf3f488d8fbd02584b58d9f7ed",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|