zhytech-ui 1.0.10 → 1.0.12

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/README.md CHANGED
@@ -38,9 +38,11 @@ createApp(app).use(zhytechUI)
38
38
  ```
39
39
 
40
40
  > #### 注意:
41
+
41
42
  1)、此组件库提供的所有组件在使用时均需要添加**zhy**前缀,如:zhy-form-designer
42
43
 
43
44
  2)、此组件css样式依赖scss开发,使用者项目还需要添加scss依赖。
44
45
 
45
46
  > #### 后续计划:
47
+
46
48
  此组件库目前还处于雏形,后续会继续添加组件
@@ -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, GetFormTemplateMethod } from './types/batchAddComponentParam';
3
+ import { batchAddComponentParam, formListView, GetFormTemplateMethod } 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 };
7
+ export type { dynamicFormData, formAttribute, uploadOption, documentView, batchAddComponentParam, GetFormTemplateMethod, formListView };
8
8
  export { formDesigner, formRenderer };
@@ -1,7 +1,7 @@
1
1
  import { conditionType, dynamicFilter as ZhyDynamicFilter } from './components/dynamicFilter/index';
2
- import { batchAddComponentParam, documentView, dynamicFormData, formAttribute, GetFormTemplateMethod, uploadOption, formDesigner as ZhyFormDesigner, formRenderer as ZhyFormRenderer } from './components/dynamicForm/index';
2
+ import { batchAddComponentParam, documentView, dynamicFormData, formAttribute, formListView, GetFormTemplateMethod, uploadOption, formDesigner as ZhyFormDesigner, formRenderer as ZhyFormRenderer } from './components/dynamicForm/index';
3
3
  import { icon as ZhyIcon } from './components/icon/index';
4
- export type { conditionType, dynamicFormData, formAttribute, uploadOption, documentView, batchAddComponentParam, GetFormTemplateMethod };
4
+ export type { conditionType, dynamicFormData, formAttribute, uploadOption, documentView, batchAddComponentParam, GetFormTemplateMethod, formListView };
5
5
  export { ZhyIcon, ZhyFormDesigner, ZhyFormRenderer, ZhyDynamicFilter };
6
6
  declare const _default: {
7
7
  install: (app: any, options?: Record<string, any> | undefined) => void;
@@ -1,28 +1,28 @@
1
1
  /**
2
2
  * 消息类型
3
3
  */
4
- declare enum MessageType {
4
+ export declare enum MessageType {
5
5
  /**
6
6
  * 成功消息
7
7
  */
8
- success,
8
+ success = 0,
9
9
  /**
10
10
  * 警告消息
11
11
  */
12
- warning,
12
+ warning = 1,
13
13
  /**
14
14
  * 错误消息
15
15
  */
16
- error,
16
+ error = 2,
17
17
  /**
18
18
  * 普通消息
19
19
  */
20
- info
20
+ info = 3
21
21
  }
22
22
  /**
23
23
  * 过滤条件组件类型
24
24
  */
25
- declare enum filterConditionTypes {
25
+ export declare enum filterConditionTypes {
26
26
  /**
27
27
  * 等于=
28
28
  */