@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.
@@ -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 | undefined) => void;
21
+ export declare const setStyle: (element: HTMLElement, styleName: CSSProperties | string, value?: string) => void;
22
22
  /**
23
23
  * @description 移除元素样式
24
24
  * @param {HTMLNode} element 元素节点
@@ -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;