@kmkf-fe-packages/services-components 1.0.10-rc.2 → 1.0.10-rc.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.
|
@@ -29,5 +29,8 @@ declare class Label implements ComponentInterface {
|
|
|
29
29
|
renderLog: (r: Record) => React.JSX.Element;
|
|
30
30
|
renderExport: (value: any, record: Record) => any;
|
|
31
31
|
filterConfig: (item: ColumnConfig) => never[];
|
|
32
|
+
formDataTransform: (v: Array<{
|
|
33
|
+
labelShowName: string;
|
|
34
|
+
}>) => string[];
|
|
32
35
|
}
|
|
33
36
|
export default Label;
|
|
@@ -120,6 +120,11 @@ var Label = /*#__PURE__*/_createClass(function Label(options) {
|
|
|
120
120
|
_defineProperty(this, "filterConfig", function (item) {
|
|
121
121
|
return [];
|
|
122
122
|
});
|
|
123
|
+
_defineProperty(this, "formDataTransform", function (v) {
|
|
124
|
+
return v === null || v === void 0 ? void 0 : v.map(function (item) {
|
|
125
|
+
return item.labelShowName;
|
|
126
|
+
});
|
|
127
|
+
});
|
|
123
128
|
this.name = options.name;
|
|
124
129
|
this.id = options.id;
|
|
125
130
|
this.sortField = options.id;
|
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, KmErpSendGood, AfterSalesOrderId } from "./index";
|
|
2
2
|
import { PickOption } from "./type";
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) => AfterSalesOrderId | AliPay | BasicCascader |
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => AfterSalesOrderId | AliPay | BasicCascader | BasicInput | KmErpSendGood | Label | BasicAddress | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | 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 | WdtReturn | WdtExchange | CommonInput | PaymentVoucherCode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "1.0.10-rc.
|
|
3
|
+
"version": "1.0.10-rc.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": "^1.0.10-rc.
|
|
25
|
-
"@kmkf-fe-packages/kmkf-utils": "^1.0.10-rc.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "^1.0.10-rc.4",
|
|
25
|
+
"@kmkf-fe-packages/kmkf-utils": "^1.0.10-rc.4"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "34ea8d6f141ef4a7d4688c2cf7b8ba5203568200",
|
|
42
42
|
"gitHooks": {
|
|
43
43
|
"pre-commit": "lint-staged"
|
|
44
44
|
}
|