zhytech-ui 1.1.21 → 1.1.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.
- package/README.md +11 -0
- package/dist/src/components/dynamicFilter/types/dynamicFilterTypes.d.ts +4 -0
- package/dist/src/components/dynamicForm/formRenderer.vue.d.ts +15 -0
- package/dist/src/components/dynamicForm/types/componentAttribute/base/checkboxAttribute.d.ts +8 -0
- package/dist/src/components/dynamicForm/types/componentAttribute/base/radioAttribute.d.ts +8 -0
- package/dist/src/components/dynamicForm/types/enum.d.ts +30 -0
- package/dist/src/hooks/useUtils.d.ts +2 -2
- package/dist/style.css +1 -1
- package/dist/zhytech-ui.es.js +3281 -3262
- package/dist/zhytech-ui.umd.js +11 -11
- package/package.json +1 -3
package/README.md
CHANGED
|
@@ -71,6 +71,17 @@ setTheme("dark");
|
|
|
71
71
|
|
|
72
72
|
> #### 版本更新清单:
|
|
73
73
|
|
|
74
|
+
**V 1.1.23**
|
|
75
|
+
```html
|
|
76
|
+
1.调整zhy-dynamic-filter组件中下拉框项目支持显示后缀
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
**V 1.1.22**
|
|
80
|
+
```html
|
|
81
|
+
1.修复zhy-dynamic-designer组件在查看模式下,人员、岗位组件显示不正确
|
|
82
|
+
2.优化代码
|
|
83
|
+
```
|
|
84
|
+
|
|
74
85
|
**V 1.1.21**
|
|
75
86
|
```html
|
|
76
87
|
1.调整zhy-dynamic-filter组件的items参数支持unit(单位)属性
|
|
@@ -65,6 +65,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
65
65
|
type: BooleanConstructor;
|
|
66
66
|
default: boolean;
|
|
67
67
|
};
|
|
68
|
+
/**
|
|
69
|
+
* 实时显示答案模式
|
|
70
|
+
*/
|
|
71
|
+
realTimeDisplayAnswerMode: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
68
75
|
}, {
|
|
69
76
|
/**
|
|
70
77
|
* @description: 获取表单数据
|
|
@@ -169,6 +176,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
169
176
|
type: BooleanConstructor;
|
|
170
177
|
default: boolean;
|
|
171
178
|
};
|
|
179
|
+
/**
|
|
180
|
+
* 实时显示答案模式
|
|
181
|
+
*/
|
|
182
|
+
realTimeDisplayAnswerMode: {
|
|
183
|
+
type: BooleanConstructor;
|
|
184
|
+
default: boolean;
|
|
185
|
+
};
|
|
172
186
|
}>> & {
|
|
173
187
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
174
188
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
@@ -178,6 +192,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
178
192
|
selectMode: boolean;
|
|
179
193
|
disabled: boolean;
|
|
180
194
|
uploadOptions: uploadOption;
|
|
195
|
+
realTimeDisplayAnswerMode: boolean;
|
|
181
196
|
device: string;
|
|
182
197
|
watching: boolean;
|
|
183
198
|
hiddenTitle: boolean;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 表单类型
|
|
3
|
+
*/
|
|
4
|
+
export declare enum formTypeEnum {
|
|
5
|
+
/**
|
|
6
|
+
* 问卷
|
|
7
|
+
*/
|
|
8
|
+
Form = "1",
|
|
9
|
+
/**
|
|
10
|
+
* 试卷
|
|
11
|
+
*/
|
|
12
|
+
Examination = "2"
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* 试卷答案状态
|
|
16
|
+
*/
|
|
17
|
+
export declare enum examinationStatusEnum {
|
|
18
|
+
/**
|
|
19
|
+
* 未作答
|
|
20
|
+
*/
|
|
21
|
+
NotAnswered = 1,
|
|
22
|
+
/**
|
|
23
|
+
* 正确
|
|
24
|
+
*/
|
|
25
|
+
Correct = 2,
|
|
26
|
+
/**
|
|
27
|
+
* 错误
|
|
28
|
+
*/
|
|
29
|
+
Error = 3
|
|
30
|
+
}
|
|
@@ -56,11 +56,11 @@ export declare function useUtils(): {
|
|
|
56
56
|
* @param selectVale 级联选择器选择的值
|
|
57
57
|
* @param options 级联选择器的所有数据
|
|
58
58
|
* @param valueName 级联选择器的数据类型value名字
|
|
59
|
-
* @param
|
|
59
|
+
* @param childName 级联选择器的数据类型children名字
|
|
60
60
|
* @param multipleFlag 是否是多选
|
|
61
61
|
* @returns
|
|
62
62
|
*/
|
|
63
|
-
getCascaderFullValue<V, L>(selectVale: V | V[], options: L[], valueName: string,
|
|
63
|
+
getCascaderFullValue<V, L>(selectVale: V | V[], options: L[], valueName: string, childName: string, multipleFlag?: boolean): (L | V[] | L[] | V[][])[];
|
|
64
64
|
/**
|
|
65
65
|
* 存储/读取localStorage数据
|
|
66
66
|
* name: localStorage的key
|