@kmkf-fe-packages/basic-components 2.7.2-rc.0 → 2.7.3-beta.0
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/index.esm.js +912 -118
- package/dist/src/bs/SystemOrder/index.d.ts +1 -0
- package/dist/src/bs/component/model/WlnGoodsModal/GoodsList.d.ts +32 -0
- package/dist/src/bs/component/model/WlnGoodsModal/index.d.ts +5 -0
- package/dist/src/business/LogisticsInterception/index.d.ts +2 -1
- package/dist/src/constants/systemOrderColumnsMap.d.ts +3 -0
- package/dist/src/index.d.ts +1 -1
- package/dist/src/platform/common/index.d.ts +6 -0
- package/package.json +3 -3
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import '../Columns/columns.less';
|
|
3
|
+
export declare namespace WlnGoods {
|
|
4
|
+
interface GoodsInfo {
|
|
5
|
+
companyKey: string;
|
|
6
|
+
id: number;
|
|
7
|
+
platform: 'WLN_ERP';
|
|
8
|
+
goodNo: string;
|
|
9
|
+
goodName: string;
|
|
10
|
+
imageUrl: string;
|
|
11
|
+
goodShortName: string;
|
|
12
|
+
categoryName: string;
|
|
13
|
+
productType: string;
|
|
14
|
+
brandName: string;
|
|
15
|
+
specName: string;
|
|
16
|
+
specNo: string;
|
|
17
|
+
specBarcode: string;
|
|
18
|
+
specImgUrl: string;
|
|
19
|
+
colorName: string;
|
|
20
|
+
sizeName: string;
|
|
21
|
+
marketPrice: string;
|
|
22
|
+
retailPrice: string;
|
|
23
|
+
costPrice: string;
|
|
24
|
+
isGift: boolean;
|
|
25
|
+
skuType: string;
|
|
26
|
+
}
|
|
27
|
+
interface SelectDrawerRefObject {
|
|
28
|
+
getSelectGoodList: () => WlnGoods.GoodsInfo[];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<WlnGoods.SelectDrawerRefObject>>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { WlnGoods } from './GoodsList';
|
|
3
|
+
import type { ErpGoodModelProps } from '../type';
|
|
4
|
+
declare const _default: React.ForwardRefExoticComponent<ErpGoodModelProps<WlnGoods.GoodsInfo[]> & React.RefAttributes<unknown>>;
|
|
5
|
+
export default _default;
|
|
@@ -26,7 +26,8 @@ interface LogisticsInterceptionProps {
|
|
|
26
26
|
required: boolean;
|
|
27
27
|
disabled: boolean;
|
|
28
28
|
isEditing: boolean;
|
|
29
|
-
onChange: (value: Partial<LogisticsInterceptionValueType
|
|
29
|
+
onChange: (value: Partial<LogisticsInterceptionValueType>, type?: string) => void;
|
|
30
|
+
onBlur: (value: string, type: string) => void;
|
|
30
31
|
platform: string;
|
|
31
32
|
showReason?: boolean;
|
|
32
33
|
onJumpPage?: (val: any) => void;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -74,5 +74,5 @@ export { default as OrderSubFormUtils } from './apaas/OrderSubForm/utils';
|
|
|
74
74
|
export { default as SkxIdInputSelect } from './skx/IdInputSelect';
|
|
75
75
|
export { default as SkxGoods } from './skx/Goods';
|
|
76
76
|
export { default as columnsBaseInfoMap, erpColumnsMap, erpFormValidator, } from './constants/columnsBaseInfoMap';
|
|
77
|
-
export { default as SYSTEM_ORDER_COLUMNS_MAP } from './constants/systemOrderColumnsMap';
|
|
77
|
+
export { default as SYSTEM_ORDER_COLUMNS_MAP, FIELD_COLUMNS_MAP } from './constants/systemOrderColumnsMap';
|
|
78
78
|
export { default as erpModalColumnsMap } from './bs/component/model/Columns';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.3-beta.0",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@kmkf-fe-packages/kmkf-utils": "2.7.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "2.7.3-beta.0",
|
|
24
24
|
"ahooks": "^3.7.4",
|
|
25
25
|
"ali-react-table": "2.6.1",
|
|
26
26
|
"bignumber.js": "^9.1.2",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "8c80641421cc67b5f77f17fbe4db443014610338"
|
|
70
70
|
}
|