@jiaozhiye/qm-design-react 1.3.0-beta.43 → 1.3.0-beta.44
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/utils.d.ts +5 -2
- package/lib/form/style/index.less +5 -2
- package/lib/index.esm.js +2 -2
- package/lib/index.full.js +1 -1
- package/lib/index.js +2 -2
- package/lib/style/index.css +9 -0
- package/lib/style/index.min.css +1 -1
- package/lib/table/src/table/props.d.ts +1 -0
- package/lib/table/src/table/types.d.ts +2 -1
- package/lib/table/style/tollbox.less +11 -0
- package/package.json +4 -4
package/lib/form/src/utils.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import dayjs, { Dayjs } from 'dayjs';
|
|
2
2
|
import type { IDict } from '../../_utils/types';
|
|
3
|
-
import type { IFormItem, IFetchFnMaker } from './types';
|
|
3
|
+
import type { IFormItem, IFetchFnMaker, IRecord } from './types';
|
|
4
4
|
export declare const getDate: (dateString: string | undefined, format: string) => dayjs.Dayjs | null;
|
|
5
5
|
export declare const formatDate: (date: Dayjs | null, format: string) => string;
|
|
6
6
|
export declare const isEmptyValue: (value: unknown) => boolean;
|
|
7
|
+
export declare const getSplitValue: (data: IRecord, path: string) => any;
|
|
8
|
+
export declare const setEchoRecord: (row: IRecord, alias: any, echoAlias: any) => void;
|
|
9
|
+
export declare const setEchoExtras: (row: IRecord, extras: any, echoExtras: any) => void;
|
|
7
10
|
export declare const deepMapList: (list: any[], valueKey: string, textKey: string) => IDict[];
|
|
8
11
|
export declare const deepFind: (arr: any[], mark: string) => any;
|
|
9
12
|
export declare const deepFindValues: <T>(arr: T[], str: string, depth?: number) => T[];
|
|
@@ -20,7 +23,7 @@ export declare const createShConfig: (data: any, fieldName: string, createFetch:
|
|
|
20
23
|
table?: {
|
|
21
24
|
fetch?: import("../../table/src/table/types").IFetch | undefined;
|
|
22
25
|
columns?: import("../..").QmTableColumn[] | undefined;
|
|
23
|
-
rowKey?: string | number | ((row:
|
|
26
|
+
rowKey?: string | number | ((row: IRecord, index: number) => string | number) | undefined;
|
|
24
27
|
webPagination?: boolean | undefined;
|
|
25
28
|
} | undefined;
|
|
26
29
|
tree?: {
|
|
@@ -42,8 +42,11 @@
|
|
|
42
42
|
line-height: 1;
|
|
43
43
|
}
|
|
44
44
|
// search
|
|
45
|
-
.ant-input-search
|
|
46
|
-
|
|
45
|
+
.ant-input-search {
|
|
46
|
+
width: calc(100% + 1px);
|
|
47
|
+
& > .ant-input-group > .ant-input-group-addon {
|
|
48
|
+
line-height: 1;
|
|
49
|
+
}
|
|
47
50
|
}
|
|
48
51
|
// textarea
|
|
49
52
|
.ant-input-textarea-show-count {
|