@jiaozhiye/qm-design-react 1.1.0-beta.21 → 1.1.0-beta.24
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/_utils/dom.d.ts +1 -1
- package/lib/form/src/types.d.ts +4 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/search-helper/src/search-helper.d.ts +10 -7
- package/lib/table/src/filter-sql/index.d.ts +1 -1
- package/lib/table/src/hooks/useTableCore.d.ts +2 -2
- package/lib/table/src/hooks/useTableLayout.d.ts +2 -2
- package/lib/table/src/table/props.d.ts +2 -0
- package/lib/table/src/table/types.d.ts +2 -0
- package/lib/table/src/utils/index.d.ts +1 -1
- package/lib/tree-table-helper/src/tree-table-helper.d.ts +10 -7
- package/package.json +6 -6
package/lib/_utils/dom.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export declare const getStyle: (element: HTMLElement, styleName: string) => Null
|
|
|
18
18
|
* @param {string} value css 属性的值
|
|
19
19
|
* @returns
|
|
20
20
|
*/
|
|
21
|
-
export declare const setStyle: (element: HTMLElement, styleName: CSSProperties | string, value?: string
|
|
21
|
+
export declare const setStyle: (element: HTMLElement, styleName: CSSProperties | string, value?: string) => void;
|
|
22
22
|
/**
|
|
23
23
|
* @description 移除元素样式
|
|
24
24
|
* @param {HTMLNode} element 元素节点
|
package/lib/form/src/types.d.ts
CHANGED
|
@@ -135,6 +135,8 @@ export declare type IFormItem = {
|
|
|
135
135
|
tinymceHeight?: number | string;
|
|
136
136
|
};
|
|
137
137
|
searchHelper?: {
|
|
138
|
+
name?: string;
|
|
139
|
+
getServerConfig?: IFetchFn;
|
|
138
140
|
filters?: IFormItem[];
|
|
139
141
|
table?: {
|
|
140
142
|
fetch?: IFetch;
|
|
@@ -149,6 +151,7 @@ export declare type IFormItem = {
|
|
|
149
151
|
request?: {
|
|
150
152
|
fetchApi?: IFetchFn;
|
|
151
153
|
params?: IFetchParams;
|
|
154
|
+
formatter?: (params: IFetchParams) => IFetchParams;
|
|
152
155
|
dataKey?: string;
|
|
153
156
|
};
|
|
154
157
|
width?: number | string;
|
|
@@ -164,6 +167,7 @@ export declare type IFormItem = {
|
|
|
164
167
|
request?: {
|
|
165
168
|
fetchApi?: IFetchFn;
|
|
166
169
|
params?: IFetchParams;
|
|
170
|
+
formatter?: (params: IFetchParams) => IFetchParams;
|
|
167
171
|
dataKey?: string;
|
|
168
172
|
valueKey?: string;
|
|
169
173
|
textKey?: string;
|