@kmkf-fe-packages/basic-components 2.0.63 → 2.0.65
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 +815 -144
- package/dist/index.js +813 -141
- package/dist/src/bs/component/GoodItem/constants/index.d.ts +5 -0
- package/dist/src/bs/component/model/Columns/Erp/km.d.ts +27 -0
- package/dist/src/bs/component/model/JstGoodsModal/index.d.ts +2 -10
- package/dist/src/bs/component/model/KmGoodsModal/GoodsList.d.ts +25 -0
- package/dist/src/bs/component/model/KmGoodsModal/index.d.ts +5 -0
- package/dist/src/bs/component/model/type.d.ts +9 -0
- package/dist/src/constants/index.d.ts +1 -0
- package/dist/src/constants/km.d.ts +3 -0
- package/package.json +3 -3
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: ({
|
|
3
|
+
dataIndex: string;
|
|
4
|
+
title: string;
|
|
5
|
+
width: number;
|
|
6
|
+
ellipsis: boolean;
|
|
7
|
+
render?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
dataIndex: string;
|
|
10
|
+
title: string;
|
|
11
|
+
width: number;
|
|
12
|
+
render: (val: string) => React.JSX.Element;
|
|
13
|
+
ellipsis?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
dataIndex: string;
|
|
16
|
+
title: string;
|
|
17
|
+
ellipsis: boolean;
|
|
18
|
+
width: number;
|
|
19
|
+
render: (val: string) => React.JSX.Element;
|
|
20
|
+
} | {
|
|
21
|
+
dataIndex: string;
|
|
22
|
+
title: string;
|
|
23
|
+
ellipsis: boolean;
|
|
24
|
+
width: number;
|
|
25
|
+
render: (val: boolean) => React.JSX.Element;
|
|
26
|
+
})[];
|
|
27
|
+
export default _default;
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { JstGoods } from './GoodsList';
|
|
3
|
-
|
|
4
|
-
|
|
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>>;
|
|
3
|
+
import type { ErpGoodModelProps } from '../type';
|
|
4
|
+
declare const _default: React.ForwardRefExoticComponent<ErpGoodModelProps<JstGoods.GoodsInfo[]> & React.RefAttributes<unknown>>;
|
|
13
5
|
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare namespace ErpGoods {
|
|
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: 'KM_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: () => ErpGoods.GoodsInfo[];
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<ErpGoods.SelectDrawerRefObject>>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ErpGoods } from './GoodsList';
|
|
3
|
+
import type { ErpGoodModelProps } from '../type';
|
|
4
|
+
declare const _default: React.ForwardRefExoticComponent<ErpGoodModelProps<ErpGoods.GoodsInfo[]> & React.RefAttributes<unknown>>;
|
|
5
|
+
export default _default;
|
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.65",
|
|
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.65",
|
|
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": "15f16ebf734a616f09c15fa589a4124cdc909f95"
|
|
69
69
|
}
|