@kmkf-fe-packages/services-components 1.0.6-rc.5 → 1.0.6-rc.7
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.
|
@@ -646,7 +646,14 @@ export var BsGoodsTable = function BsGoodsTable(_ref11) {
|
|
|
646
646
|
title: "".concat(text, "\u5546\u54C1\u7C7B\u578B"),
|
|
647
647
|
align: 'center',
|
|
648
648
|
ellipsis: true,
|
|
649
|
-
width: 100
|
|
649
|
+
width: 100,
|
|
650
|
+
render: function render(val) {
|
|
651
|
+
var typeMap = {
|
|
652
|
+
'1': '单品',
|
|
653
|
+
'2': '组合装'
|
|
654
|
+
};
|
|
655
|
+
return /*#__PURE__*/React.createElement("span", null, typeMap[val]);
|
|
656
|
+
}
|
|
650
657
|
}];
|
|
651
658
|
}
|
|
652
659
|
break;
|
|
@@ -729,7 +736,14 @@ export var BsGoodsTable = function BsGoodsTable(_ref11) {
|
|
|
729
736
|
title: "".concat(text, "\u5546\u54C1\u7C7B\u578B"),
|
|
730
737
|
align: 'center',
|
|
731
738
|
ellipsis: true,
|
|
732
|
-
width: 100
|
|
739
|
+
width: 100,
|
|
740
|
+
render: function render(val) {
|
|
741
|
+
var typeMap = {
|
|
742
|
+
'1': '单品',
|
|
743
|
+
'2': '组合装'
|
|
744
|
+
};
|
|
745
|
+
return /*#__PURE__*/React.createElement("span", null, typeMap[val]);
|
|
746
|
+
}
|
|
733
747
|
}];
|
|
734
748
|
}
|
|
735
749
|
break;
|
|
@@ -171,7 +171,14 @@ var GoodHeaderMap = {
|
|
|
171
171
|
component: BsHeaderChild,
|
|
172
172
|
name: "商品类型",
|
|
173
173
|
key: "type",
|
|
174
|
-
width: 100
|
|
174
|
+
width: 100,
|
|
175
|
+
render: function render(val) {
|
|
176
|
+
var typeMap = {
|
|
177
|
+
'1': '单品',
|
|
178
|
+
'2': '组合装'
|
|
179
|
+
};
|
|
180
|
+
return /*#__PURE__*/React.createElement("span", null, typeMap[val]);
|
|
181
|
+
}
|
|
175
182
|
}
|
|
176
183
|
},
|
|
177
184
|
itemKey: {
|
|
@@ -249,7 +256,14 @@ var GoodHeaderMap = {
|
|
|
249
256
|
component: BsHeaderChild,
|
|
250
257
|
name: "商品类型",
|
|
251
258
|
key: "type",
|
|
252
|
-
width: 100
|
|
259
|
+
width: 100,
|
|
260
|
+
render: function render(val) {
|
|
261
|
+
var typeMap = {
|
|
262
|
+
'1': '单品',
|
|
263
|
+
'2': '组合装'
|
|
264
|
+
};
|
|
265
|
+
return /*#__PURE__*/React.createElement("span", null, typeMap[val]);
|
|
266
|
+
}
|
|
253
267
|
},
|
|
254
268
|
giftType: {
|
|
255
269
|
component: BsHeaderChild,
|
|
@@ -46,8 +46,7 @@ var EditRenderItem = function EditRenderItem(props) {
|
|
|
46
46
|
}));
|
|
47
47
|
};
|
|
48
48
|
var Label = /*#__PURE__*/_createClass(function Label(options) {
|
|
49
|
-
var _this = this
|
|
50
|
-
_this$componentConfig3;
|
|
49
|
+
var _this = this;
|
|
51
50
|
_classCallCheck(this, Label);
|
|
52
51
|
_defineProperty(this, "name", void 0);
|
|
53
52
|
_defineProperty(this, "id", void 0);
|
|
@@ -132,7 +131,7 @@ var Label = /*#__PURE__*/_createClass(function Label(options) {
|
|
|
132
131
|
this.canSort = false;
|
|
133
132
|
this.children = [];
|
|
134
133
|
this.dataType = "array";
|
|
135
|
-
this.options = ((_this$componentConfig3 = this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.options) || [];
|
|
136
134
|
this.labelDateInstance = LabelData.getInstance();
|
|
135
|
+
this.options = this.labelDateInstance.labelData || [];
|
|
137
136
|
});
|
|
138
137
|
export default Label;
|
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, 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 } 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) => WdtExchange | WdtReturn | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | TradeId | 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 | StatusSelect | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReissue | CommonInput | PaymentVoucherCode | Label;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "1.0.6-rc.
|
|
3
|
+
"version": "1.0.6-rc.7",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@kmkf-fe-packages/basic-components": "^1.0.6-rc.
|
|
24
|
-
"@kmkf-fe-packages/kmkf-utils": "^1.0.6-rc.
|
|
23
|
+
"@kmkf-fe-packages/basic-components": "^1.0.6-rc.7",
|
|
24
|
+
"@kmkf-fe-packages/kmkf-utils": "^1.0.6-rc.7"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "9a21e6c92e0bebf5c6515ca24b92b078f1e5e0d5",
|
|
41
41
|
"gitHooks": {
|
|
42
42
|
"pre-commit": "lint-staged"
|
|
43
43
|
}
|