@jiaozhiye/qm-design-react 1.7.15 → 1.7.16
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/lib/form/src/types.d.ts +1 -0
- package/lib/form/src/utils.d.ts +1 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/table/src/table/props.d.ts +1 -0
- package/lib/table/src/table/types.d.ts +1 -0
- package/lib/table/src/utils/index.d.ts +2 -1
- package/package.json +2 -2
|
@@ -41,6 +41,7 @@ import type { ITableProps } from './types';
|
|
|
41
41
|
* width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
42
42
|
* onlySelect: PropTypes.bool,
|
|
43
43
|
* autoQueryAssign: PropTypes.bool,
|
|
44
|
+
* combinedDataIndex: PropTypes.string,
|
|
44
45
|
* fieldAliasMap: PropTypes.func,
|
|
45
46
|
* filterAliasMap: PropTypes.func,
|
|
46
47
|
* beforeOpen: PropTypes.func,
|
|
@@ -140,6 +140,7 @@ export type IEditerReturn = {
|
|
|
140
140
|
onlySelect?: boolean;
|
|
141
141
|
autoQueryAssign?: boolean;
|
|
142
142
|
closeRemoteMatch?: boolean;
|
|
143
|
+
combinedDataIndex?: string;
|
|
143
144
|
fieldAliasMap?: (() => Record<string, string>) | Record<string, string>;
|
|
144
145
|
filterAliasMap?: (() => string[]) | string[];
|
|
145
146
|
beforeOpen?: (value: Record<string, string | number>, row: IRecord, column: IColumn) => void | Promise<void> | boolean;
|
|
@@ -24,7 +24,8 @@ export declare const difference: <T extends AnyObject<any>>(obj: T, base: T) =>
|
|
|
24
24
|
export declare const isArrayContain: (targetArr: unknown[], arr: unknown[]) => boolean;
|
|
25
25
|
export declare const getCellValue: (record: IRecord, dataIndex: string) => any;
|
|
26
26
|
export declare const setCellValue: (record: IRecord, dataIndex: string, val: unknown, precision?: number) => void;
|
|
27
|
-
export declare const getSplitValue: (record: IRecord, key: string) =>
|
|
27
|
+
export declare const getSplitValue: (record: IRecord, key: string) => string;
|
|
28
|
+
export declare const setSplitValue: (record: IRecord, key: string, val: string, precision?: number) => void;
|
|
28
29
|
export declare const formatNumber: (value: number | string) => string;
|
|
29
30
|
export declare const validateNumber: (val: string) => boolean;
|
|
30
31
|
export declare const stringToNumber: (input: string) => number | '';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jiaozhiye/qm-design-react",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.16",
|
|
4
4
|
"description": "A Component Library for React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"React",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"style-loader": "^3.3.2",
|
|
126
126
|
"ts-loader": "^9.4.2",
|
|
127
127
|
"typescript": "^4.9.5",
|
|
128
|
-
"webpack": "^5.
|
|
128
|
+
"webpack": "^5.88.0",
|
|
129
129
|
"webpack-cli": "^5.1.4",
|
|
130
130
|
"webpack-dev-server": "^4.15.0",
|
|
131
131
|
"webpack-node-externals": "^3.0.0"
|