zhytech-ui 1.0.17 → 1.0.19

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
@@ -36,7 +36,10 @@ createApp(app).use(zhytechUI)
36
36
  ```html
37
37
  <zhy-form-designer :formData="formData"></zhy-form-designer>
38
38
  ```
39
-
39
+ #### 3、使用组件提供的类
40
+ ```ts
41
+ import type { batchAddComponentParam, dynamicFormData, uploadOption } from "zhytech-ui";
42
+ ```
40
43
  > #### 注意:
41
44
 
42
45
  1)、此组件库提供的所有组件在使用时均需要添加**zhy**前缀,如:zhy-form-designer
@@ -1,4 +1,5 @@
1
1
  import { default as dynamicFilter } from './index.vue';
2
+ import { filterConditionTypes } from '../../types/enum';
2
3
  export { dynamicFilter };
3
4
  export type { conditionType };
4
5
  type conditionType = keyof typeof filterConditionTypes;
@@ -1,3 +1,4 @@
1
+ import { filterConditionTypes } from '../../../types/enum';
1
2
  type conditionType = keyof typeof filterConditionTypes;
2
3
  export default class baseComponent {
3
4
  /**
@@ -1,69 +1,66 @@
1
- export {};
2
- declare global {
1
+ /**
2
+ * 消息类型
3
+ */
4
+ export declare enum MessageType {
3
5
  /**
4
- * 消息类型
6
+ * 成功消息
5
7
  */
6
- enum MessageType {
7
- /**
8
- * 成功消息
9
- */
10
- success,
11
- /**
12
- * 警告消息
13
- */
14
- warning,
15
- /**
16
- * 错误消息
17
- */
18
- error,
19
- /**
20
- * 普通消息
21
- */
22
- info
23
- }
8
+ success = 0,
24
9
  /**
25
- * 过滤条件组件类型
10
+ * 警告消息
26
11
  */
27
- enum filterConditionTypes {
28
- /**
29
- * 等于=
30
- */
31
- EQUALS = "\u7B49\u4E8E",
32
- /**
33
- * 不等于!=
34
- */
35
- NOT_EQUALS = "\u4E0D\u7B49\u4E8E",
36
- /**
37
- * 大于>
38
- */
39
- GREATER_THAN = "\u5927\u4E8E",
40
- /**
41
- * 小于<
42
- */
43
- LESS_THAN = "\u5C0F\u4E8E",
44
- /**
45
- * 大于等于>=
46
- */
47
- GREATER_THAN_OR_EQUALS = "\u5927\u4E8E\u7B49\u4E8E",
48
- /**
49
- * 小于等于<=
50
- */
51
- LESS_THAN_OR_EQUALS = "\u5C0F\u4E8E\u7B49\u4E8E",
52
- /**
53
- * 为空
54
- */
55
- EMPTY = "\u4E3A\u7A7A",
56
- /**
57
- * 包含
58
- */
59
- INCLUDES = "\u5305\u542B",
60
- /**
61
- * 不包含
62
- */
63
- EXCLUDE = "\u4E0D\u5305\u542B",
64
- /**
65
- * 范围
66
- */
67
- RANGE = "\u8303\u56F4"
68
- }
12
+ warning = 1,
13
+ /**
14
+ * 错误消息
15
+ */
16
+ error = 2,
17
+ /**
18
+ * 普通消息
19
+ */
20
+ info = 3
21
+ }
22
+ /**
23
+ * 过滤条件组件类型
24
+ */
25
+ export declare enum filterConditionTypes {
26
+ /**
27
+ * 等于=
28
+ */
29
+ EQUALS = "\u7B49\u4E8E",
30
+ /**
31
+ * 不等于!=
32
+ */
33
+ NOT_EQUALS = "\u4E0D\u7B49\u4E8E",
34
+ /**
35
+ * 大于>
36
+ */
37
+ GREATER_THAN = "\u5927\u4E8E",
38
+ /**
39
+ * 小于<
40
+ */
41
+ LESS_THAN = "\u5C0F\u4E8E",
42
+ /**
43
+ * 大于等于>=
44
+ */
45
+ GREATER_THAN_OR_EQUALS = "\u5927\u4E8E\u7B49\u4E8E",
46
+ /**
47
+ * 小于等于<=
48
+ */
49
+ LESS_THAN_OR_EQUALS = "\u5C0F\u4E8E\u7B49\u4E8E",
50
+ /**
51
+ * 为空
52
+ */
53
+ EMPTY = "\u4E3A\u7A7A",
54
+ /**
55
+ * 包含
56
+ */
57
+ INCLUDES = "\u5305\u542B",
58
+ /**
59
+ * 不包含
60
+ */
61
+ EXCLUDE = "\u4E0D\u5305\u542B",
62
+ /**
63
+ * 范围
64
+ */
65
+ RANGE = "\u8303\u56F4"
69
66
  }
@@ -1,3 +1,4 @@
1
+ import { MessageType } from '../types/enum';
1
2
  type MType = keyof typeof MessageType;
2
3
  /**
3
4
  * @description: 提示信息