zhytech-ui 1.0.23 → 1.0.25

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.
@@ -58,7 +58,7 @@ export interface searchParam {
58
58
  /**
59
59
  * @description: 下拉框选项
60
60
  */
61
- options?: OptionView[];
61
+ options?: SelectOptionsView[];
62
62
  }
63
63
  /**
64
64
  * @description: 批量添加组件参数
@@ -3,7 +3,8 @@ import { conditionType, dynamicFilter as zhyDynamicFilter } from './components/d
3
3
  import { documentView, dynamicFormData, formAttribute, uploadOption, batchAddComponentParam, getFormTemplateMethod, formListView, searchParam, formDesigner as zhyFormDesigner, formRenderer as zhyFormRenderer } from './components/dynamicForm/index';
4
4
  import { icon as zhyIcon } from './components/icon/index';
5
5
  type optionView = OptionView;
6
- export type { optionView, conditionType, dynamicFormData, formAttribute, uploadOption, documentView, batchAddComponentParam, getFormTemplateMethod, formListView, searchParam };
6
+ type selectOptionsView = SelectOptionsView;
7
+ export type { optionView, selectOptionsView, conditionType, dynamicFormData, formAttribute, uploadOption, documentView, batchAddComponentParam, getFormTemplateMethod, formListView, searchParam };
7
8
  export { MessageType, filterConditionTypes, componentType };
8
9
  export { zhyIcon, zhyFormDesigner, zhyFormRenderer, zhyDynamicFilter };
9
10
  declare const _default: {
@@ -0,0 +1,14 @@
1
+ declare interface SelectOptionsView {
2
+ /**
3
+ * 选项的值
4
+ */
5
+ value: string | number;
6
+ /**
7
+ * 选项名称
8
+ */
9
+ label: string;
10
+ /**
11
+ * @description: 子项
12
+ */
13
+ children?: SelectOptionsView[];
14
+ }