@kmkf-fe-packages/basic-components 2.0.16 → 2.0.17
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 +1804 -469
- package/dist/index.js +1804 -467
- package/dist/src/bs/SystemOrder/index.d.ts +1 -0
- package/dist/src/bs/component/GoodItem/index.d.ts +5 -0
- package/dist/src/bs/component/model/JstGoodsModal/GoodsList.d.ts +25 -0
- package/dist/src/bs/component/model/JstGoodsModal/index.d.ts +13 -0
- package/dist/src/common/Reissue/index.d.ts +3 -0
- package/dist/src/constants/index.d.ts +1 -0
- package/dist/src/constants/jst.d.ts +3 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/jst/common/index.d.ts +3 -0
- package/package.json +3 -3
|
@@ -11,5 +11,6 @@ interface BsSystemOrderProps {
|
|
|
11
11
|
onChange: (val: any) => void;
|
|
12
12
|
onChangeOrder?: (val: any) => void;
|
|
13
13
|
}
|
|
14
|
+
export declare const rowKeyMap: Record<string, string>;
|
|
14
15
|
declare const _default: (props: BsSystemOrderProps) => React.JSX.Element;
|
|
15
16
|
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { FormInstance } from 'antd/es/form';
|
|
2
3
|
interface BsGoodsProps {
|
|
4
|
+
form: FormInstance;
|
|
3
5
|
value: any[];
|
|
4
6
|
type: string;
|
|
5
7
|
options: any[];
|
|
@@ -14,6 +16,7 @@ interface BsGoodsProps {
|
|
|
14
16
|
shopId: string | number;
|
|
15
17
|
maxLength: number;
|
|
16
18
|
showChangeBtn: boolean;
|
|
19
|
+
showErpGoodsBtn: boolean;
|
|
17
20
|
showModeBtn: boolean;
|
|
18
21
|
isStrict: boolean;
|
|
19
22
|
tableSelect?: boolean;
|
|
@@ -27,7 +30,9 @@ interface BsGoodsProps {
|
|
|
27
30
|
onDelete: (val: any[]) => void;
|
|
28
31
|
onModeChange: (val: boolean) => void;
|
|
29
32
|
tradeGoods?: {
|
|
33
|
+
uniqueKey?: string;
|
|
30
34
|
originDataSource: Array<any>;
|
|
35
|
+
getDataSourceAsync?: () => Promise<any>;
|
|
31
36
|
selectedGoodsChange: (p: React.Key[]) => void;
|
|
32
37
|
};
|
|
33
38
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare namespace JstGoods {
|
|
3
|
+
interface GoodsInfo {
|
|
4
|
+
brandName: string;
|
|
5
|
+
companyKey: string;
|
|
6
|
+
goodId: string;
|
|
7
|
+
goodName: string;
|
|
8
|
+
goodNo: string;
|
|
9
|
+
goodPicUrl: string;
|
|
10
|
+
id: number;
|
|
11
|
+
platform: "JST_ERP";
|
|
12
|
+
propertiesValue: string;
|
|
13
|
+
skuType: string;
|
|
14
|
+
specId: string;
|
|
15
|
+
specImgUrl: string;
|
|
16
|
+
styleCode: string;
|
|
17
|
+
vcName: string;
|
|
18
|
+
retailPrice: string;
|
|
19
|
+
}
|
|
20
|
+
interface SelectDrawerRefObject {
|
|
21
|
+
getSelectGoodList: () => JstGoods.GoodsInfo[];
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<JstGoods.SelectDrawerRefObject>>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { JstGoods } from './GoodsList';
|
|
3
|
+
export interface GoodModelProps {
|
|
4
|
+
shopId: number | string;
|
|
5
|
+
maxLength: number;
|
|
6
|
+
shopList: any[];
|
|
7
|
+
width?: string | number;
|
|
8
|
+
shopCode?: string;
|
|
9
|
+
companyKey: string;
|
|
10
|
+
onSubmit: (goodsList: JstGoods.GoodsInfo[]) => any;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: React.ForwardRefExoticComponent<GoodModelProps & React.RefAttributes<unknown>>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as getJstColumns } from './jst';
|
package/dist/src/index.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ export { default as CommonGoods } from './common/CommonGoods';
|
|
|
49
49
|
export { default as CommonReturnGoods } from './common/CommonReturnGoods';
|
|
50
50
|
export { default as CommonExchangeGoods } from './common/CommonExchangeGoods';
|
|
51
51
|
export { default as WdtReissue } from './wdt/Reissue';
|
|
52
|
+
export { default as PublicReissue } from './common/Reissue';
|
|
52
53
|
export { default as GoodsTable } from './common/GoodsTable';
|
|
53
54
|
export { default as CommonStatus } from './common/CommonStatus';
|
|
54
55
|
export { default as CommonSystemOrder } from './common/CommonSystemOrder';
|
|
@@ -61,4 +62,5 @@ export { default as WdtGoodList } from './bs/component/model/WdtGoodList';
|
|
|
61
62
|
export { default as BsE3Reissue } from './e3/Reissue';
|
|
62
63
|
export type { WdtGoods } from './bs/component/model/WdtGoodList';
|
|
63
64
|
export { default as GyReissue } from './gy/Reissue';
|
|
65
|
+
export * from './constants/index';
|
|
64
66
|
export { default as columnsBaseInfoMap } from './constants/columnsBaseInfoMap';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.17",
|
|
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.0.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "2.0.17",
|
|
24
24
|
"ahooks": "^3.7.4",
|
|
25
25
|
"bignumber.js": "^9.1.2",
|
|
26
26
|
"kmkf-monitor": "^0.8.9",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "5c8da8bf3e0ca213a31946282f6c6411167589d5"
|
|
69
69
|
}
|