@kmkf-fe-packages/services-components 2.0.79-beta.100 → 2.0.79-beta.101
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/Hooks/useColumnsConfig.d.ts +1 -1
- package/dist/esm/components/BS/BsLogistics/index.d.ts +5 -2
- package/dist/esm/components/BS/common/expressCode.d.ts +4 -1
- package/dist/esm/components/BS/common/expressCode.js +7 -4
- package/dist/esm/components/BS/common/expressCompany.d.ts +5 -2
- package/dist/esm/components/BS/common/expressCompany.js +8 -4
- package/dist/esm/factory.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import LogisticsInterception from "../components/LogisticsInterception";
|
|
2
2
|
import LogisticsMoreInterception from "../components/LogisticsMoreInterception";
|
|
3
|
-
export declare const newRenderColumnItem: (effects: any) => (item: any) => import("../components/BS/BsLogistics").default | import("../components/BS/BsSystemOrder").default | import("../components/
|
|
3
|
+
export declare const newRenderColumnItem: (effects: any) => (item: any) => import("../components/BS/BsLogistics").default | import("../components/BS/BsSystemOrder").default | import("../components/BuyerNick").default | import("../components/Checkbox").default | import("../components/CommonMultiStatus").default | import("../components/File").default | import("../components/FlowTag").default | import("../components/Input").default | import("../components/TypeInput").default | import("../components/Address").default | import("../components/Cascader").default | import("../components/DataTime").default | import("../components/Select").default | import("../components/SelectOption").default | import("../components/Radio").default | import("../components/TextArea").default | import("../components/Picture").default | import("../components/PicturePro").default | import("../components/MultSelect").default | import("../components/Grade").default | import("../components/Rate").default | import("../components/PostIng").default | import("../components/SubForm").default | import("../components/CommonDataTime").default | import("../components/TradeId").default | import("../components/ShopName").default | import("../components/ReceiverName").default | import("../components/ReceiverMobile").default | import("../components/ReceiverAddress").default | import("../components/TradeDateTime").default | import("../components/Logistics").default | import("../components/ReturnLogistics").default | import("../components/ActualPayment").default | import("../components/Remark").default | import("../components/Alipay").default | import("../components/EItemSelect").default | import("../components/EItemId").default | import("../components/EItemEnCode").default | import("../components/SystemOrderNo").default | import("../components/Ordinary").default | import("../components/ThirdItemSelect").default | import("../components/Payment").default | import("../components/Reissue/Logistics").default | import("../components/JST/JstItemSelect").default | import("../components/JST/JstSendGood").default | import("../components/JST/JstSupply").default | import("../components/BS/BsGoods").default | import("../components/BsE3/BsGoods").default | import("../components/Public/Goods").default | import("../components/Public/ReissueGoods").default | import("../components/Public/Exchange").default | import("../components/BsE3/BsReissueE3").default | import("../components/BS/BsExchange").default | import("../components/BS/BsReissue").default | import("../components/BS/BsReturn").default | import("../components/FlowStatusSelect").default | import("../components/FlowMarkSelect").default | import("../components/TemplateSelect").default | import("../components/WorkOrderId").default | LogisticsInterception | LogisticsMoreInterception | import("../components/LogisticsTrajectory").default | import("../components/LogisticsMoreTrajectory").default | import("../components/PlatForm").default | import("../components/ShopInput").default | import("../components/Submitter").default | import("../components/PrevSubmitter").default | import("../components/FlowCreator").default | import("../components/Handler").default | import("../components/CompletedUser").default | import("../components/FlowWorkOrderId").default | import("../components/StatusSelect").default | import("../components/Calculation").default | import("../components/CommonSystemOrder").default | import("../components/NodeDeadLine").default | import("../components/HandlerDeadLine").default | import("../components/NodeStayDuration").default | import("../components/WLN/WlnGoods").default | import("../components/BS/BsPosting").default | import("../components/NodeInput").default | import("../components/FlowWorkOrderStatus").default | import("../components/MsgStatus").default | import("../components/WDT/WdtGoods").default | import("../components/WDT/WdtRessuie").default | import("../components/WDT/WdtReturn").default | import("../components/WDT/WdtExchange").default | import("../components/WDT/WdtShopSelect").default | import("../components/KM/KmVideo").default | import("../components/CommonInput").default | import("../components/PaymentVoucherCode").default | import("../components/Label").default | import("../components/MemberLevel").default | import("../components/AfterSalesOrderId").default | import("../components/GY/GyReissue").default | import("../components/GY/GyReturn").default | import("../components/Public/AsyncSelect").default | import("../components/SKX/SkxIdInputSelect").default | import("../components/SKX/SkxGoods").default | import("../components/OrderSubForm").default | import("../components/GY/GyGoods").default;
|
|
4
4
|
export declare const useColumnsConfig: ({ queryWorkOrderDetail, flatTemplateList, shopList, sortState, onChangeSort, handleReset, handleSubmit, handleChangeSingleWorkOrderMark, userList, tbAppKey, isShare, openSingleColumnsFilter, openSingleColumnsSort, }: {
|
|
5
5
|
queryWorkOrderDetail?: ((p: any) => void) | undefined;
|
|
6
6
|
flatTemplateList?: any;
|
|
@@ -34,18 +34,21 @@ declare class BsLogistics implements ComponentInterface {
|
|
|
34
34
|
renderExport: () => null;
|
|
35
35
|
editRender: (p: any) => React.JSX.Element;
|
|
36
36
|
filterConfig: (item: ColumnConfig) => ({
|
|
37
|
+
searchDefaultConditions: "in";
|
|
37
38
|
filterComponentType: "MultipleSelect";
|
|
38
39
|
props: {
|
|
39
40
|
options: any[];
|
|
40
41
|
filterOptions?: undefined;
|
|
41
42
|
};
|
|
42
43
|
filterFn: (value: string) => (i: Record) => any;
|
|
43
|
-
searchDefaultConditions: "in";
|
|
44
44
|
type: string;
|
|
45
45
|
id: string;
|
|
46
46
|
name: string;
|
|
47
47
|
} | {
|
|
48
|
-
searchDefaultConditions:
|
|
48
|
+
searchDefaultConditions: {
|
|
49
|
+
in: "in";
|
|
50
|
+
anylike: "anylike";
|
|
51
|
+
};
|
|
49
52
|
type: string;
|
|
50
53
|
id: string;
|
|
51
54
|
name: string;
|
|
@@ -26,7 +26,10 @@ declare class ExpressCode implements ComponentInterface {
|
|
|
26
26
|
renderExport: (value: string, record: Record) => any;
|
|
27
27
|
editRender: () => null;
|
|
28
28
|
filterConfig: (item: ColumnConfig) => {
|
|
29
|
-
searchDefaultConditions:
|
|
29
|
+
searchDefaultConditions: {
|
|
30
|
+
in: "in";
|
|
31
|
+
anylike: "anylike";
|
|
32
|
+
};
|
|
30
33
|
type: string;
|
|
31
34
|
id: string;
|
|
32
35
|
name: string;
|
|
@@ -14,7 +14,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
14
14
|
import React from "react";
|
|
15
15
|
import { BsExpressRender } from "../../Common";
|
|
16
16
|
import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
|
|
17
|
-
import {
|
|
17
|
+
import { SEARCH_OPTIONS, SYMBOL, batchInput } from "../../../constant";
|
|
18
18
|
var typeMap = {
|
|
19
19
|
BS_LOGISTICS: {
|
|
20
20
|
key: "bsLogisticsItem"
|
|
@@ -100,13 +100,16 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
100
100
|
_defineProperty(this, "filterConfig", function (item) {
|
|
101
101
|
var subKey = item.subKey;
|
|
102
102
|
return {
|
|
103
|
-
searchDefaultConditions:
|
|
103
|
+
searchDefaultConditions: {
|
|
104
|
+
in: SYMBOL.in,
|
|
105
|
+
anylike: SYMBOL.anylike
|
|
106
|
+
},
|
|
104
107
|
type: item.type,
|
|
105
108
|
id: "".concat(item.id, "_").concat(subKey),
|
|
106
109
|
name: "".concat(_this.parentName, "-\u7269\u6D41\u5355\u53F7"),
|
|
107
110
|
filterComponentType: "SelectInput",
|
|
108
111
|
props: {
|
|
109
|
-
filterOptions:
|
|
112
|
+
filterOptions: SEARCH_OPTIONS
|
|
110
113
|
},
|
|
111
114
|
filterFn: function filterFn(value) {
|
|
112
115
|
return function (i) {
|
|
@@ -114,7 +117,7 @@ var ExpressCode = /*#__PURE__*/_createClass(function ExpressCode(options) {
|
|
|
114
117
|
};
|
|
115
118
|
},
|
|
116
119
|
formatFilterValue: function formatFilterValue(value) {
|
|
117
|
-
if (value.type
|
|
120
|
+
if (["in", "anylike"].includes(value.type)) {
|
|
118
121
|
return batchInput(value.keywords);
|
|
119
122
|
} else {
|
|
120
123
|
return value;
|
|
@@ -31,6 +31,10 @@ declare class Express implements ComponentInterface {
|
|
|
31
31
|
renderExport: (value: string, record: Record) => any;
|
|
32
32
|
editRender: () => null;
|
|
33
33
|
filterConfig: (item: ColumnConfig) => {
|
|
34
|
+
searchDefaultConditions: {
|
|
35
|
+
in: "in";
|
|
36
|
+
anylike: "anylike";
|
|
37
|
+
};
|
|
34
38
|
filterComponentType: "SelectInput";
|
|
35
39
|
props: {
|
|
36
40
|
filterOptions: {
|
|
@@ -41,18 +45,17 @@ declare class Express implements ComponentInterface {
|
|
|
41
45
|
};
|
|
42
46
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
43
47
|
formatFilterValue: (value: any) => any;
|
|
44
|
-
searchDefaultConditions: "in";
|
|
45
48
|
type: string;
|
|
46
49
|
id: string;
|
|
47
50
|
name: string;
|
|
48
51
|
} | {
|
|
52
|
+
searchDefaultConditions: "in";
|
|
49
53
|
filterComponentType: "MultipleSelect";
|
|
50
54
|
props: {
|
|
51
55
|
options: any[];
|
|
52
56
|
filterOptions?: undefined;
|
|
53
57
|
};
|
|
54
58
|
filterFn: (value: string) => (i: Record) => any;
|
|
55
|
-
searchDefaultConditions: "in";
|
|
56
59
|
type: string;
|
|
57
60
|
id: string;
|
|
58
61
|
name: string;
|
|
@@ -17,7 +17,7 @@ import React from "react";
|
|
|
17
17
|
import { ExpressData } from "@kmkf-fe-packages/kmkf-utils";
|
|
18
18
|
import { BsExpressRender } from "../../Common";
|
|
19
19
|
import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
|
|
20
|
-
import {
|
|
20
|
+
import { SEARCH_OPTIONS, SYMBOL, batchInput } from "../../../constant";
|
|
21
21
|
var typeMap = {
|
|
22
22
|
BS_LOGISTICS: {
|
|
23
23
|
key: "bsLogisticsItem"
|
|
@@ -110,14 +110,17 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
|
110
110
|
var _this$expressDateInst3;
|
|
111
111
|
var subKey = item.subKey;
|
|
112
112
|
return _objectSpread({
|
|
113
|
-
searchDefaultConditions: SYMBOL.in,
|
|
114
113
|
type: item.type,
|
|
115
114
|
id: "".concat(item.id, "_").concat(subKey),
|
|
116
115
|
name: "".concat(_this.parentName, "-\u7269\u6D41\u516C\u53F8")
|
|
117
116
|
}, _this.logisticsCompanyFormType === "input" ? {
|
|
117
|
+
searchDefaultConditions: {
|
|
118
|
+
in: SYMBOL.in,
|
|
119
|
+
anylike: SYMBOL.anylike
|
|
120
|
+
},
|
|
118
121
|
filterComponentType: "SelectInput",
|
|
119
122
|
props: {
|
|
120
|
-
filterOptions:
|
|
123
|
+
filterOptions: SEARCH_OPTIONS
|
|
121
124
|
},
|
|
122
125
|
filterFn: function filterFn(value) {
|
|
123
126
|
return function (i) {
|
|
@@ -125,13 +128,14 @@ var Express = /*#__PURE__*/_createClass(function Express(options) {
|
|
|
125
128
|
};
|
|
126
129
|
},
|
|
127
130
|
formatFilterValue: function formatFilterValue(value) {
|
|
128
|
-
if (value.type
|
|
131
|
+
if (["in", "anylike"].includes(value.type)) {
|
|
129
132
|
return batchInput(value.keywords);
|
|
130
133
|
} else {
|
|
131
134
|
return value;
|
|
132
135
|
}
|
|
133
136
|
}
|
|
134
137
|
} : {
|
|
138
|
+
searchDefaultConditions: SYMBOL.in,
|
|
135
139
|
filterComponentType: "MultipleSelect",
|
|
136
140
|
props: {
|
|
137
141
|
options: ((_this$expressDateInst3 = _this.expressDateInstance) === null || _this$expressDateInst3 === void 0 ? void 0 : _this$expressDateInst3.getExpressData()) || []
|
package/dist/esm/factory.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ReissueLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicPicturePro, 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, GyReissue, AfterSalesOrderId, BsE3Goods, PublicGoods, PublicReissueGoods, PublicExchange, GyGoods, BsE3Reissue, MemberLevel, GyReturn, AsyncSelect, WdtShopSelect, KmVideo, BasicTypeInput, SkxIdInputSelect, SkxGoods, BasicSelectOption, OrderSubForm } from "./index";
|
|
2
2
|
import { PickOption } from "./type";
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) => BsLogistics | BsSystemOrder | FlowTag | BasicInput | BasicTypeInput | BasicAddress | BasicCascader |
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => BsLogistics | BsSystemOrder | BuyerNick | BasicCheckbox | CommonMultiStatus | BasicFile | FlowTag | BasicInput | BasicTypeInput | BasicAddress | BasicCascader | BasicDataTime | BasicSelect | BasicSelectOption | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicPosting | SubForm | CommonDataTime | TradeId | ShopName | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSendGood | JstSupply | BsGoods | BsE3Goods | PublicGoods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | FlowStatusSelect | FlowMarkSelect | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | KmVideo | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | GyReissue | GyReturn | AsyncSelect | SkxIdInputSelect | SkxGoods | OrderSubForm | GyGoods;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "2.0.79-beta.
|
|
3
|
+
"version": "2.0.79-beta.101",
|
|
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": "2.0.79-beta.
|
|
25
|
-
"@kmkf-fe-packages/kmkf-utils": "2.0.79-beta.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "2.0.79-beta.101",
|
|
25
|
+
"@kmkf-fe-packages/kmkf-utils": "2.0.79-beta.101",
|
|
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": "38bbb5c5b711bedf5f7096f2cfa891ab8bd75d71",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|