@kmkf-fe-packages/basic-components 2.0.55 → 2.0.56
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 +266 -119
- package/dist/index.js +269 -118
- package/dist/src/bs/component/GoodItem/constants/bsE3ReissueGoodsColumns.d.ts +9 -1
- package/dist/src/bs/component/GoodItem/constants/wdtReissueGoodsColumns.d.ts +17 -1
- package/dist/src/constants/columnsBaseInfoMap.d.ts +11 -2
- package/dist/src/constants/index.d.ts +2 -0
- package/dist/src/index.d.ts +1 -1
- package/package.json +3 -3
|
@@ -3,5 +3,13 @@ type P = {
|
|
|
3
3
|
updateHandle: (v: any, index: number, key: string) => void;
|
|
4
4
|
operate?: boolean;
|
|
5
5
|
};
|
|
6
|
-
export declare const getBsE3ReissueGoodColumns: ({ disabled, updateHandle, operate, }: P) =>
|
|
6
|
+
export declare const getBsE3ReissueGoodColumns: ({ disabled, updateHandle, operate, }: P) => {
|
|
7
|
+
dataIndex: string;
|
|
8
|
+
title: string;
|
|
9
|
+
width?: number | undefined;
|
|
10
|
+
align: string;
|
|
11
|
+
ellipsis: boolean;
|
|
12
|
+
render?: ((val: any, record: any, index: number) => any) | undefined;
|
|
13
|
+
validator?: ((rule: any, value: any, callback?: any) => Promise<void> | undefined) | undefined;
|
|
14
|
+
}[];
|
|
7
15
|
export {};
|
|
@@ -5,5 +5,21 @@ type P = {
|
|
|
5
5
|
updateHandle: (v: any, index: number, key: string) => void;
|
|
6
6
|
operate?: boolean;
|
|
7
7
|
};
|
|
8
|
-
export declare const getWdtReissueGoodColumns: ({ disabled, updateHandle, operate, }: P) =>
|
|
8
|
+
export declare const getWdtReissueGoodColumns: ({ disabled, updateHandle, operate, }: P) => ({
|
|
9
|
+
dataIndex: string;
|
|
10
|
+
title: string;
|
|
11
|
+
width?: number | undefined;
|
|
12
|
+
align: string;
|
|
13
|
+
ellipsis: boolean;
|
|
14
|
+
render?: ((val: any, record: any, index: number) => any) | undefined;
|
|
15
|
+
validator?: ((rule: any, value: any, callback?: any) => Promise<void> | undefined) | undefined;
|
|
16
|
+
} | {
|
|
17
|
+
render: ((val: number) => React.JSX.Element) | ((val: any, record: any, index: number) => React.JSX.Element);
|
|
18
|
+
dataIndex: string;
|
|
19
|
+
title: string;
|
|
20
|
+
width?: number | undefined;
|
|
21
|
+
align: string;
|
|
22
|
+
ellipsis: boolean;
|
|
23
|
+
validator?: ((rule: any, value: any, callback?: any) => Promise<void> | undefined) | undefined;
|
|
24
|
+
})[];
|
|
9
25
|
export {};
|
|
@@ -1,7 +1,16 @@
|
|
|
1
|
-
type
|
|
2
|
-
|
|
1
|
+
type ColumnsItemType = {
|
|
2
|
+
dataIndex: string;
|
|
3
|
+
title: string;
|
|
4
|
+
width?: number;
|
|
5
|
+
align?: 'left' | 'center' | 'right';
|
|
6
|
+
ellipsis?: boolean;
|
|
7
|
+
render?: (val: any, record: any, index: number) => any;
|
|
8
|
+
validator?: (rule: any, value: any, callback?: any) => Promise<void> | undefined;
|
|
3
9
|
};
|
|
10
|
+
type ColumnsMapType = Record<string, ColumnsItemType[]>;
|
|
4
11
|
export type GetColumnsBaseInfoMapFnType = (...args: any[]) => ColumnsMapType;
|
|
5
12
|
export declare const getColumnsMap: GetColumnsBaseInfoMapFnType;
|
|
13
|
+
export declare const erpColumnsMap: ColumnsMapType;
|
|
14
|
+
export declare const erpFormValidator: (_rule: any, value: any, type: string) => any;
|
|
6
15
|
declare const _default: ColumnsMapType;
|
|
7
16
|
export default _default;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -66,5 +66,5 @@ export type { WdtGoods } from './bs/component/model/WdtGoodList';
|
|
|
66
66
|
export { default as GyReissue } from './gy/Reissue';
|
|
67
67
|
export * from './constants/index';
|
|
68
68
|
export { default as GyReturn } from './gy/Return';
|
|
69
|
-
export { default as columnsBaseInfoMap } from './constants/columnsBaseInfoMap';
|
|
69
|
+
export { default as columnsBaseInfoMap, erpColumnsMap, erpFormValidator, } from './constants/columnsBaseInfoMap';
|
|
70
70
|
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.0.
|
|
3
|
+
"version": "2.0.56",
|
|
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.56",
|
|
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": "cc90a2328d7efea5866745a63d88e2b5107c6ef5"
|
|
69
69
|
}
|