@kmkf-fe-packages/basic-components 2.2.39-beta.11 → 2.2.39-beta.15
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 +2511 -1362
- package/dist/index.js +2510 -1360
- package/dist/src/bs/component/model/Columns/Erp/jky.d.ts +38 -0
- package/dist/src/bs/component/model/JkyGoodsModal/GoodsList.d.ts +32 -0
- package/dist/src/bs/component/model/JkyGoodsModal/index.d.ts +5 -0
- package/dist/src/bs/component/model/components/SearchForm/components.d.ts +2 -0
- package/dist/src/bs/component/model/components/SearchForm/index.d.ts +4 -3
- package/dist/src/bs/component/model/components/SearchForm/utils.d.ts +5 -0
- package/dist/src/constants/index.d.ts +1 -0
- package/dist/src/constants/jky.d.ts +3 -0
- package/dist/src/constants/systemOrderColumnsMap.d.ts +5 -0
- package/dist/src/jky/common/index.d.ts +3 -0
- package/package.json +3 -3
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: ({
|
|
3
|
+
dataIndex: string;
|
|
4
|
+
title: string;
|
|
5
|
+
align: string;
|
|
6
|
+
ellipsis: boolean;
|
|
7
|
+
width: number;
|
|
8
|
+
render: (val: string) => React.JSX.Element;
|
|
9
|
+
} | {
|
|
10
|
+
dataIndex: string;
|
|
11
|
+
title: string;
|
|
12
|
+
width: number;
|
|
13
|
+
render: (val: any) => string;
|
|
14
|
+
align?: undefined;
|
|
15
|
+
ellipsis?: undefined;
|
|
16
|
+
} | {
|
|
17
|
+
dataIndex: string;
|
|
18
|
+
title: string;
|
|
19
|
+
width: number;
|
|
20
|
+
align?: undefined;
|
|
21
|
+
ellipsis?: undefined;
|
|
22
|
+
render?: undefined;
|
|
23
|
+
} | {
|
|
24
|
+
dataIndex: string;
|
|
25
|
+
title: string;
|
|
26
|
+
width: number;
|
|
27
|
+
render: (val: string) => React.JSX.Element;
|
|
28
|
+
align?: undefined;
|
|
29
|
+
ellipsis?: undefined;
|
|
30
|
+
} | {
|
|
31
|
+
dataIndex: string;
|
|
32
|
+
title: string;
|
|
33
|
+
ellipsis: boolean;
|
|
34
|
+
width: number;
|
|
35
|
+
render: (value: any) => React.JSX.Element;
|
|
36
|
+
align?: undefined;
|
|
37
|
+
})[];
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import '../Columns/columns.less';
|
|
3
|
+
export declare namespace JkyGoods {
|
|
4
|
+
interface GoodsInfo {
|
|
5
|
+
companyKey: string;
|
|
6
|
+
id: number;
|
|
7
|
+
platform: 'JY_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: () => JkyGoods.GoodsInfo[];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<JkyGoods.SelectDrawerRefObject>>;
|
|
32
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { JkyGoods } from './GoodsList';
|
|
3
|
+
import type { ErpGoodModelProps } from '../type';
|
|
4
|
+
declare const _default: React.ForwardRefExoticComponent<ErpGoodModelProps<JkyGoods.GoodsInfo[]> & React.RefAttributes<unknown>>;
|
|
5
|
+
export default _default;
|
|
@@ -8,12 +8,13 @@ type Props = {
|
|
|
8
8
|
submit: () => void;
|
|
9
9
|
reset: () => void;
|
|
10
10
|
};
|
|
11
|
-
export type
|
|
11
|
+
export type SearchFormItem = {
|
|
12
12
|
label: string;
|
|
13
13
|
name: string;
|
|
14
14
|
dataIndex?: string;
|
|
15
|
-
type?: undefined | 'input' | 'select';
|
|
15
|
+
type?: undefined | 'input' | 'select' | 'optionalInput';
|
|
16
16
|
formItemProps?: Record<string, any>;
|
|
17
|
-
}
|
|
17
|
+
};
|
|
18
|
+
export type SearchFormData = SearchFormItem[];
|
|
18
19
|
declare function SearchForm({ searchFormData, form, showColumnsDataIndexList, submit, reset, }: Props): React.JSX.Element;
|
|
19
20
|
export default SearchForm;
|
|
@@ -5,4 +5,5 @@ export { default as getWdtColumns } from './wdt';
|
|
|
5
5
|
export { default as getKmColumns } from './km';
|
|
6
6
|
export { default as getJyColumns } from './jy';
|
|
7
7
|
export { default as getSkxColumns } from './skx';
|
|
8
|
+
export { default as getJkyColumns } from './jky';
|
|
8
9
|
export { default as orderSubFormConstants } from './orderSubForm';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.2.39-beta.
|
|
3
|
+
"version": "2.2.39-beta.15",
|
|
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.2.39-beta.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "2.2.39-beta.14",
|
|
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": "05d77d06b33492d280a6c829b6c88cae7977afc5"
|
|
70
70
|
}
|