wargerm 0.3.20 → 0.4.1
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/components/Modal/index.d.ts +1 -0
- package/dist/components/Table/index.d.ts +1 -17
- package/dist/components/WForm/index.d.ts +1 -0
- package/dist/index.css +1396 -873
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.css +1396 -873
- package/dist/index.esm.js +7 -4
- package/dist/index.js +7 -4
- package/package.json +1 -1
@@ -1,6 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { ReactNode } from 'react';
|
3
3
|
import { FormProps } from 'antd';
|
4
|
+
import { Isearch } from '../WForm';
|
4
5
|
interface ColumnProps {
|
5
6
|
title: string;
|
6
7
|
dataIndex: string;
|
@@ -57,23 +58,6 @@ interface Iscroll {
|
|
57
58
|
*/
|
58
59
|
y?: string | number;
|
59
60
|
}
|
60
|
-
declare type defaultColConfig = {
|
61
|
-
xs: 24;
|
62
|
-
sm: 24;
|
63
|
-
md: 12;
|
64
|
-
lg: 12;
|
65
|
-
xl: 8;
|
66
|
-
xxl: 6;
|
67
|
-
};
|
68
|
-
interface Isearch {
|
69
|
-
labelWidth?: number | 'auto';
|
70
|
-
span?: number | defaultColConfig;
|
71
|
-
filterType?: 'query' | 'light';
|
72
|
-
searchText?: string;
|
73
|
-
resetText?: string;
|
74
|
-
submitText?: string;
|
75
|
-
optionRender?: ((searchConfig: any, formProps: any, dom: any) => ReactNode[]) | false;
|
76
|
-
}
|
77
61
|
declare type Props = {
|
78
62
|
className?: string;
|
79
63
|
rowClassName?: (record: Record<string, any>, index: number) => string;
|
@@ -43,6 +43,7 @@ export interface Isearch {
|
|
43
43
|
submitText?: string;
|
44
44
|
hideSubmit?: boolean;
|
45
45
|
transform?: (value: any) => any;
|
46
|
+
optionDomReverse?: boolean;
|
46
47
|
optionRender?: ((searchConfig: any, formProps: any, dom: any) => ReactNode[]) | false;
|
47
48
|
}
|
48
49
|
export interface WFormProps extends FormProps {
|