zhytech-ui 1.0.22 → 1.0.23

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.
@@ -1,8 +1,8 @@
1
1
  import { default as formDesigner } from './formDesigner.vue';
2
2
  import { default as formRenderer } from './formRenderer.vue';
3
- import { batchAddComponentParam, formListView, getFormTemplateMethod, paramListType, searchParam } from './types/batchAddComponentParam';
3
+ import { batchAddComponentParam, formListView, getFormTemplateMethod, searchParam } from './types/batchAddComponentParam';
4
4
  import { documentView } from './types/documentView';
5
5
  import { dynamicFormData, formAttribute } from './types/formAttribute';
6
6
  import { uploadOption } from './types/uploadOption';
7
- export type { dynamicFormData, formAttribute, uploadOption, documentView, batchAddComponentParam, getFormTemplateMethod, formListView, paramListType, searchParam };
7
+ export type { dynamicFormData, formAttribute, uploadOption, documentView, batchAddComponentParam, getFormTemplateMethod, formListView, searchParam };
8
8
  export { formDesigner, formRenderer };
@@ -24,9 +24,9 @@ export interface formListView {
24
24
  [key: string]: any;
25
25
  }
26
26
  /**
27
- * @description: 搜索参数列表类型
27
+ * @description: 搜索参数类型
28
28
  */
29
- export interface paramListType {
29
+ export interface searchParam {
30
30
  /**
31
31
  * @description: 类型
32
32
  */
@@ -48,22 +48,17 @@ export interface paramListType {
48
48
  */
49
49
  clearKeys?: string[];
50
50
  /**
51
- * @description: 下拉框选项
51
+ * @description: 当值改变时,要更新选项的key
52
52
  */
53
- options?: OptionView[];
54
- }
55
- /**
56
- * @description: 搜索参数类型
57
- */
58
- export interface searchParam {
53
+ updateOptionKey?: string;
59
54
  /**
60
- * @description: 属性映射
55
+ * @description: 获取选项的方法
61
56
  */
62
- keyMap: Map<string, string>;
57
+ getOptions?: Function;
63
58
  /**
64
- * @description: 参数列表
59
+ * @description: 下拉框选项
65
60
  */
66
- paramList: paramListType[];
61
+ options?: OptionView[];
67
62
  }
68
63
  /**
69
64
  * @description: 批量添加组件参数
@@ -80,5 +75,5 @@ export interface batchAddComponentParam {
80
75
  /**
81
76
  * @description: 搜索参数
82
77
  */
83
- searchParams?: searchParam;
78
+ searchParams?: searchParam[];
84
79
  }
@@ -1,9 +1,9 @@
1
1
  import { MessageType, filterConditionTypes, componentType } from './types/enum';
2
2
  import { conditionType, dynamicFilter as zhyDynamicFilter } from './components/dynamicFilter/index';
3
- import { documentView, dynamicFormData, formAttribute, uploadOption, batchAddComponentParam, getFormTemplateMethod, formListView, paramListType, searchParam, formDesigner as zhyFormDesigner, formRenderer as zhyFormRenderer } from './components/dynamicForm/index';
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, paramListType, searchParam };
6
+ export type { optionView, conditionType, dynamicFormData, formAttribute, uploadOption, documentView, batchAddComponentParam, getFormTemplateMethod, formListView, searchParam };
7
7
  export { MessageType, filterConditionTypes, componentType };
8
8
  export { zhyIcon, zhyFormDesigner, zhyFormRenderer, zhyDynamicFilter };
9
9
  declare const _default: {