@kmkf-fe-packages/services-components 0.23.1-beta.12 → 0.23.1-beta.14
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.
|
@@ -43,13 +43,12 @@ declare class BsLogistics implements ComponentInterface {
|
|
|
43
43
|
};
|
|
44
44
|
filterFn: (value: string) => (i: Record) => any;
|
|
45
45
|
} | {
|
|
46
|
-
searchDefaultConditions: "
|
|
46
|
+
searchDefaultConditions: "like";
|
|
47
47
|
type: string;
|
|
48
48
|
id: string;
|
|
49
49
|
name: string;
|
|
50
|
-
filterComponentType: "
|
|
50
|
+
filterComponentType: "Input";
|
|
51
51
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
52
|
-
formatFilterValue: (value: any) => any;
|
|
53
52
|
})[];
|
|
54
53
|
}
|
|
55
54
|
export default BsLogistics;
|
|
@@ -13,7 +13,7 @@ import { ApaasPosting } from "@kmkf-fe-packages/basic-components";
|
|
|
13
13
|
import GetFormItem from "../GetFormItem";
|
|
14
14
|
import ItemView from "../../commonComponents/ItemView";
|
|
15
15
|
import { isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
16
|
-
import { AddressData, BsAddressData } from "@kmkf-fe-packages/kmkf-utils";
|
|
16
|
+
import { AddressData, BsAddressData, WdtAddressData } from "@kmkf-fe-packages/kmkf-utils";
|
|
17
17
|
import Province from "../BS/BsPosting/components/Province";
|
|
18
18
|
import City from "../BS/BsPosting/components//City";
|
|
19
19
|
import District from "../BS/BsPosting/components//District";
|
|
@@ -186,7 +186,12 @@ var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
|
|
|
186
186
|
this.isCombinationComponent = this.isSplitColumns;
|
|
187
187
|
this.canSort = false;
|
|
188
188
|
this.dataType = "string";
|
|
189
|
-
|
|
189
|
+
var showField = (_options$componentCon2 = options.componentConfig) === null || _options$componentCon2 === void 0 ? void 0 : _options$componentCon2.showField;
|
|
190
|
+
this.addressDateInstance = (showField && {
|
|
191
|
+
bs: BsAddressData,
|
|
192
|
+
wdt: WdtAddressData,
|
|
193
|
+
workOrder: AddressData
|
|
194
|
+
}[showField] || AddressData).getInstance();
|
|
190
195
|
this.province = new Province(_objectSpread(_objectSpread({}, options), {}, {
|
|
191
196
|
id: "".concat(options.id, "_postingProvince"),
|
|
192
197
|
name: "省",
|
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, ErpTradeId, 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, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, WdtGoods, NodeInput, FlowWorkOrderStatus } 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) => CompletedUser | FlowMarkSelect | FlowStatusSelect | FlowTag | FlowWorkOrderStatus | Handler | NodeInput | PlatForm | ShopInput | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | TradeId | ErpTradeId | 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 | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsTrajectory | LogisticsMoreTrajectory | Submitter | PrevSubmitter | FlowCreator | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | MsgStatus | WdtGoods;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "0.23.1-beta.
|
|
3
|
+
"version": "0.23.1-beta.14",
|
|
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": "^0.23.1-beta.
|
|
24
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.23.1-beta.
|
|
23
|
+
"@kmkf-fe-packages/basic-components": "^0.23.1-beta.14",
|
|
24
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.23.1-beta.13"
|
|
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": "46a3a01edfbcc0c5b68b3dddf0cbfb4832acd605",
|
|
41
41
|
"gitHooks": {
|
|
42
42
|
"pre-commit": "lint-staged"
|
|
43
43
|
}
|