@kmkf-fe-packages/services-components 1.22.1-beta.22 → 1.22.1-beta.23
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.
|
@@ -17,9 +17,9 @@ declare class MemberLevel implements ComponentInterface {
|
|
|
17
17
|
getComponentValue: (r: Record) => any;
|
|
18
18
|
editRender: (p: any) => React.JSX.Element;
|
|
19
19
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
20
|
-
renderPc: (value: any, record: Record) =>
|
|
21
|
-
renderLog: (r: Record) =>
|
|
22
|
-
renderExport: (value: any, record: Record) =>
|
|
20
|
+
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
21
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
22
|
+
renderExport: (value: any, record: Record) => any;
|
|
23
23
|
filterConfig: (item: ColumnConfig) => {
|
|
24
24
|
searchDefaultConditions: "in";
|
|
25
25
|
type: string;
|
|
@@ -58,23 +58,30 @@ var MemberLevel = /*#__PURE__*/_createClass(function MemberLevel(options) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
_defineProperty(this, "renderClient", function (record) {
|
|
61
|
-
var
|
|
61
|
+
var _record;
|
|
62
62
|
return !isNull(record === null || record === void 0 ? void 0 : record[_this.id]) ? /*#__PURE__*/React.createElement(ItemView, {
|
|
63
63
|
id: _this.id,
|
|
64
64
|
label: _this.name,
|
|
65
|
-
value:
|
|
65
|
+
value: record === null || record === void 0 ? void 0 : (_record = record["".concat(_this.id, "_memberLevel")]) === null || _record === void 0 ? void 0 : _record.join("、")
|
|
66
66
|
}) : null;
|
|
67
67
|
});
|
|
68
68
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
69
|
-
var
|
|
70
|
-
|
|
69
|
+
var _record2;
|
|
70
|
+
if (isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_memberLevel")])) {
|
|
71
|
+
return /*#__PURE__*/React.createElement("span", null, "--");
|
|
72
|
+
}
|
|
73
|
+
return /*#__PURE__*/React.createElement("span", null, record === null || record === void 0 ? void 0 : (_record2 = record["".concat(_this.id, "_memberLevel")]) === null || _record2 === void 0 ? void 0 : _record2.join("、"));
|
|
71
74
|
});
|
|
72
75
|
_defineProperty(this, "renderLog", function (r) {
|
|
76
|
+
if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_memberLevel")])) return null;
|
|
73
77
|
return _this.renderPc(undefined, r);
|
|
74
78
|
});
|
|
75
79
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
76
|
-
var
|
|
77
|
-
|
|
80
|
+
var _record3;
|
|
81
|
+
if (isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_memberLevel")])) {
|
|
82
|
+
return "--";
|
|
83
|
+
}
|
|
84
|
+
return record === null || record === void 0 ? void 0 : (_record3 = record["".concat(_this.id, "_memberLevel")]) === null || _record3 === void 0 ? void 0 : _record3.join("、");
|
|
78
85
|
});
|
|
79
86
|
_defineProperty(this, "filterConfig", function (item) {
|
|
80
87
|
return {
|
|
@@ -112,11 +119,5 @@ var MemberLevel = /*#__PURE__*/_createClass(function MemberLevel(options) {
|
|
|
112
119
|
label: item
|
|
113
120
|
};
|
|
114
121
|
});
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// formDataTransform = (v: Array<{ labelShowName: string }>) => {
|
|
118
|
-
// return v
|
|
119
|
-
// }
|
|
120
|
-
);
|
|
121
|
-
|
|
122
|
+
});
|
|
122
123
|
export default MemberLevel;
|
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, AfterSalesOrderId, BsE3Goods, BsE3Reissue, MemberLevel } from "./index";
|
|
2
2
|
import { PickOption } from "./type";
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) => BsGoods | CommonMultiStatus | JstLogistics | JstSendGood | MemberLevel | MsgStatus | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture |
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => BsGoods | CommonMultiStatus | JstLogistics | JstSendGood | MemberLevel | MsgStatus | BasicMultSelect | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstItemSelect | JstSupply | BsSystemOrder | BsE3Goods | BsE3Reissue | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | CommonInput | PaymentVoucherCode | Label | AfterSalesOrderId;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "1.22.1-beta.
|
|
3
|
+
"version": "1.22.1-beta.23",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "492fa61aa17d54385a77fd56b29b10e9d2ea26a5",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|