zy-react-library 1.2.37 → 1.2.38
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.
|
@@ -176,8 +176,15 @@ export type FormOptionCustomRender<O extends boolean = false, C extends boolean
|
|
|
176
176
|
* 表单配置项
|
|
177
177
|
*/
|
|
178
178
|
export type FormOption
|
|
179
|
-
=
|
|
180
|
-
|
|
179
|
+
= | FormOptionDefault<false, false>
|
|
180
|
+
| FormOptionDefault<false, true>
|
|
181
|
+
| FormOptionDefault<true, false>
|
|
182
|
+
| { [K in keyof FORM_ITEM_RENDER_TYPE_MAP]: FormOptionByRender<K, false, false> }[keyof FORM_ITEM_RENDER_TYPE_MAP]
|
|
183
|
+
| { [K in keyof FORM_ITEM_RENDER_TYPE_MAP]: FormOptionByRender<K, false, true> }[keyof FORM_ITEM_RENDER_TYPE_MAP]
|
|
184
|
+
| { [K in keyof FORM_ITEM_RENDER_TYPE_MAP]: FormOptionByRender<K, true, false> }[keyof FORM_ITEM_RENDER_TYPE_MAP]
|
|
185
|
+
| FormOptionCustomRender<false, false>
|
|
186
|
+
| FormOptionCustomRender<false, true>
|
|
187
|
+
| FormOptionCustomRender<true, false>;
|
|
181
188
|
|
|
182
189
|
/**
|
|
183
190
|
* FormItemsRenderer 组件属性
|