zhytech-ui 1.1.26 → 1.1.28
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 +9 -1
- package/dist/src/components/dynamicForm/components/common/answerSheet/answerSheetItem.vue.d.ts +30 -0
- package/dist/src/components/dynamicForm/components/common/answerSheet/index.vue.d.ts +39 -0
- package/dist/src/components/dynamicForm/components/{batchAddDialog.vue.d.ts → common/batchAddDialog.vue.d.ts} +1 -1
- package/dist/src/components/dynamicForm/components/common/componentRenderer.vue.d.ts +42 -1
- package/dist/src/components/dynamicForm/components/layout/groupLayout/index.d.ts +35 -0
- package/dist/src/components/dynamicForm/components/layout/groupLayout/renderer.vue.d.ts +41 -0
- package/dist/src/components/dynamicForm/formRenderer.vue.d.ts +22 -1
- package/dist/src/components/dynamicForm/types/abnormalCheckView.d.ts +1 -1
- package/dist/src/components/dynamicForm/types/componentAttribute/baseAttribute.d.ts +5 -1
- package/dist/src/components/dynamicForm/types/componentAttribute/index.d.ts +8 -8
- package/dist/src/components/dynamicForm/types/enum.d.ts +43 -0
- package/dist/src/components/dynamicForm/types/formAttribute.d.ts +4 -0
- package/dist/src/components/dynamicForm/types/relevanceConditionView.d.ts +1 -1
- package/dist/src/hooks/useUtils.d.ts +1 -1
- package/dist/src/index.d.ts +2 -2
- package/dist/src/types/enum.d.ts +0 -43
- package/dist/style.css +1 -1
- package/dist/zhytech-ui.es.js +5377 -5090
- package/dist/zhytech-ui.umd.js +11 -11
- package/package.json +104 -104
- package/dist/src/App.vue.d.ts +0 -2
- package/dist/src/main.d.ts +0 -0
- package/dist/src/router/index.d.ts +0 -2
- package/dist/src/views/404.vue.d.ts +0 -2
- package/dist/src/views/dynamicFilterDemo.vue.d.ts +0 -2
- package/dist/src/views/dynamicFormDemo.vue.d.ts +0 -2
- package/dist/src/views/filePreviewDemo.vue.d.ts +0 -2
- package/dist/src/views/index.vue.d.ts +0 -2
- package/dist/src/views/readme.vue.d.ts +0 -2
- package/dist/src/views/richTextEditorDemo.vue.d.ts +0 -2
package/README.md
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
此组件依赖一些组件库,使用时需要自行安装
|
|
6
6
|
npm install @vueuse/core element-plus vue-router axios
|
|
7
7
|
|
|
8
|
-
[在线演示](http://60.205.113.132:7005/)
|
|
9
8
|
> ### 组件列表
|
|
10
9
|
#### 1、dynamicForm
|
|
11
10
|
动态表单组件:通过拖拽设计表单或试卷,以减少开发时间,此组件提供一个表单设计器和表单渲染器。
|
|
@@ -71,6 +70,15 @@ setTheme("dark");
|
|
|
71
70
|
|
|
72
71
|
> #### 版本更新清单:
|
|
73
72
|
|
|
73
|
+
**V 1.1.27**
|
|
74
|
+
```html
|
|
75
|
+
1.调整zhy-dynamic-designer修复tabs组件调整标签顺序,子组件不同步
|
|
76
|
+
2.调整zhy-dynamic-designer字典选择组件显示字典ID,搜索可模糊查询字典ID
|
|
77
|
+
3.调整zhy-dynamic-designer支持横向布局
|
|
78
|
+
4.调整zhy-dynamic-designer横向布局时支持任意组件设置换行
|
|
79
|
+
5.调整zhy-dynamic-designer的group组件横向布局时支持任意组件设置换行
|
|
80
|
+
```
|
|
81
|
+
|
|
74
82
|
**V 1.1.26**
|
|
75
83
|
```html
|
|
76
84
|
1.调整zhy-dynamic-designer支持复选框项目解析异常
|
package/dist/src/components/dynamicForm/components/common/answerSheet/answerSheetItem.vue.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* 组件
|
|
4
|
+
*/
|
|
5
|
+
answerSheetData: {
|
|
6
|
+
type: globalThis.PropType<Record<string, any>[]>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
tagType: {
|
|
10
|
+
type: globalThis.PropType<Record<number, any>>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
showItem: (...args: any[]) => void;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
16
|
+
/**
|
|
17
|
+
* 组件
|
|
18
|
+
*/
|
|
19
|
+
answerSheetData: {
|
|
20
|
+
type: globalThis.PropType<Record<string, any>[]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
tagType: {
|
|
24
|
+
type: globalThis.PropType<Record<number, any>>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
}>> & {
|
|
28
|
+
onShowItem?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
}, {}, {}>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { dynamicFormData, formAttribute } from '../../../types/formAttribute';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
/**
|
|
4
|
+
* @description: 表单数据,包含表单属性,组件集合、初始数据
|
|
5
|
+
*/
|
|
6
|
+
formData: {
|
|
7
|
+
type: globalThis.PropType<dynamicFormData<formAttribute>>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* @description: 是否显示正确与否
|
|
12
|
+
*/
|
|
13
|
+
showCorrectOrNot: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
showItem: (...args: any[]) => void;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
20
|
+
/**
|
|
21
|
+
* @description: 表单数据,包含表单属性,组件集合、初始数据
|
|
22
|
+
*/
|
|
23
|
+
formData: {
|
|
24
|
+
type: globalThis.PropType<dynamicFormData<formAttribute>>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @description: 是否显示正确与否
|
|
29
|
+
*/
|
|
30
|
+
showCorrectOrNot: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
}>> & {
|
|
35
|
+
onShowItem?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
showCorrectOrNot: boolean;
|
|
38
|
+
}, {}>;
|
|
39
|
+
export default _default;
|
|
@@ -27,6 +27,26 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
27
27
|
type: globalThis.PropType<"horizontal" | "vertical">;
|
|
28
28
|
default: string;
|
|
29
29
|
};
|
|
30
|
+
/**
|
|
31
|
+
* 分页时当前页要显示项目ID集合
|
|
32
|
+
*/
|
|
33
|
+
currentShowIDArray: {
|
|
34
|
+
type: {
|
|
35
|
+
(arrayLength: number): String[][];
|
|
36
|
+
(...items: String[][]): String[][];
|
|
37
|
+
new (arrayLength: number): String[][];
|
|
38
|
+
new (...items: String[][]): String[][];
|
|
39
|
+
isArray(arg: any): arg is any[];
|
|
40
|
+
readonly prototype: any[];
|
|
41
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
42
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
43
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
44
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
45
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
46
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
47
|
+
};
|
|
48
|
+
default: never[];
|
|
49
|
+
};
|
|
30
50
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
51
|
select: (...args: any[]) => void;
|
|
32
52
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
@@ -58,11 +78,32 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
58
78
|
type: globalThis.PropType<"horizontal" | "vertical">;
|
|
59
79
|
default: string;
|
|
60
80
|
};
|
|
81
|
+
/**
|
|
82
|
+
* 分页时当前页要显示项目ID集合
|
|
83
|
+
*/
|
|
84
|
+
currentShowIDArray: {
|
|
85
|
+
type: {
|
|
86
|
+
(arrayLength: number): String[][];
|
|
87
|
+
(...items: String[][]): String[][];
|
|
88
|
+
new (arrayLength: number): String[][];
|
|
89
|
+
new (...items: String[][]): String[][];
|
|
90
|
+
isArray(arg: any): arg is any[];
|
|
91
|
+
readonly prototype: any[];
|
|
92
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
93
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
94
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
95
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
96
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
97
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
98
|
+
};
|
|
99
|
+
default: never[];
|
|
100
|
+
};
|
|
61
101
|
}>> & {
|
|
62
102
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
63
103
|
}, {
|
|
64
104
|
selectMode: boolean;
|
|
65
|
-
showDescription: boolean;
|
|
66
105
|
layoutMode: "horizontal" | "vertical";
|
|
106
|
+
showDescription: boolean;
|
|
107
|
+
currentShowIDArray: String[][];
|
|
67
108
|
}, {}>;
|
|
68
109
|
export default _default;
|
|
@@ -21,6 +21,23 @@ declare const _default: {
|
|
|
21
21
|
type: BooleanConstructor;
|
|
22
22
|
default: boolean;
|
|
23
23
|
};
|
|
24
|
+
currentShowIDArray: {
|
|
25
|
+
type: {
|
|
26
|
+
(arrayLength: number): String[][];
|
|
27
|
+
(...items: String[][]): String[][];
|
|
28
|
+
new (arrayLength: number): String[][];
|
|
29
|
+
new (...items: String[][]): String[][];
|
|
30
|
+
isArray(arg: any): arg is any[];
|
|
31
|
+
readonly prototype: any[];
|
|
32
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
33
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
34
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
35
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
36
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
37
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
38
|
+
};
|
|
39
|
+
default: never[];
|
|
40
|
+
};
|
|
24
41
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
42
|
change: (...args: any[]) => void;
|
|
26
43
|
deleteComponent: (...args: any[]) => void;
|
|
@@ -41,11 +58,29 @@ declare const _default: {
|
|
|
41
58
|
type: BooleanConstructor;
|
|
42
59
|
default: boolean;
|
|
43
60
|
};
|
|
61
|
+
currentShowIDArray: {
|
|
62
|
+
type: {
|
|
63
|
+
(arrayLength: number): String[][];
|
|
64
|
+
(...items: String[][]): String[][];
|
|
65
|
+
new (arrayLength: number): String[][];
|
|
66
|
+
new (...items: String[][]): String[][];
|
|
67
|
+
isArray(arg: any): arg is any[];
|
|
68
|
+
readonly prototype: any[];
|
|
69
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
70
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
71
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
72
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
73
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
74
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
75
|
+
};
|
|
76
|
+
default: never[];
|
|
77
|
+
};
|
|
44
78
|
}>> & {
|
|
45
79
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
46
80
|
onDeleteComponent?: ((...args: any[]) => any) | undefined;
|
|
47
81
|
}, {
|
|
48
82
|
showDescription: boolean;
|
|
83
|
+
currentShowIDArray: String[][];
|
|
49
84
|
isDesigner: boolean;
|
|
50
85
|
}, {}>;
|
|
51
86
|
propEditor: import('vue').DefineComponent<Readonly<import('vue').ComponentPropsOptions<{
|
|
@@ -27,6 +27,26 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
27
27
|
type: BooleanConstructor;
|
|
28
28
|
default: boolean;
|
|
29
29
|
};
|
|
30
|
+
/**
|
|
31
|
+
* 分页时当前页要显示项目ID集合
|
|
32
|
+
*/
|
|
33
|
+
currentShowIDArray: {
|
|
34
|
+
type: {
|
|
35
|
+
(arrayLength: number): String[][];
|
|
36
|
+
(...items: String[][]): String[][];
|
|
37
|
+
new (arrayLength: number): String[][];
|
|
38
|
+
new (...items: String[][]): String[][];
|
|
39
|
+
isArray(arg: any): arg is any[];
|
|
40
|
+
readonly prototype: any[];
|
|
41
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
42
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
43
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
44
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
45
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
46
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
47
|
+
};
|
|
48
|
+
default: never[];
|
|
49
|
+
};
|
|
30
50
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
51
|
change: (...args: any[]) => void;
|
|
32
52
|
deleteComponent: (...args: any[]) => void;
|
|
@@ -59,11 +79,32 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
59
79
|
type: BooleanConstructor;
|
|
60
80
|
default: boolean;
|
|
61
81
|
};
|
|
82
|
+
/**
|
|
83
|
+
* 分页时当前页要显示项目ID集合
|
|
84
|
+
*/
|
|
85
|
+
currentShowIDArray: {
|
|
86
|
+
type: {
|
|
87
|
+
(arrayLength: number): String[][];
|
|
88
|
+
(...items: String[][]): String[][];
|
|
89
|
+
new (arrayLength: number): String[][];
|
|
90
|
+
new (...items: String[][]): String[][];
|
|
91
|
+
isArray(arg: any): arg is any[];
|
|
92
|
+
readonly prototype: any[];
|
|
93
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
94
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
95
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
96
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
97
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
98
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
99
|
+
};
|
|
100
|
+
default: never[];
|
|
101
|
+
};
|
|
62
102
|
}>> & {
|
|
63
103
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
64
104
|
onDeleteComponent?: ((...args: any[]) => any) | undefined;
|
|
65
105
|
}, {
|
|
66
106
|
showDescription: boolean;
|
|
107
|
+
currentShowIDArray: String[][];
|
|
67
108
|
isDesigner: boolean;
|
|
68
109
|
}, {}>;
|
|
69
110
|
export default _default;
|
|
@@ -40,6 +40,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
40
40
|
type: BooleanConstructor;
|
|
41
41
|
default: boolean;
|
|
42
42
|
};
|
|
43
|
+
/**
|
|
44
|
+
* @description: 是否禁用
|
|
45
|
+
*/
|
|
43
46
|
disabled: {
|
|
44
47
|
type: BooleanConstructor;
|
|
45
48
|
default: boolean;
|
|
@@ -79,6 +82,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
79
82
|
type: BooleanConstructor;
|
|
80
83
|
default: boolean;
|
|
81
84
|
};
|
|
85
|
+
/**
|
|
86
|
+
* 答题卡显示正确与否
|
|
87
|
+
*/
|
|
88
|
+
showCorrectOrNot: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
82
92
|
}, {
|
|
83
93
|
/**
|
|
84
94
|
* @description: 获取表单数据
|
|
@@ -110,7 +120,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
110
120
|
* @param prop
|
|
111
121
|
* @return
|
|
112
122
|
*/
|
|
113
|
-
scrollToField(prop: string)
|
|
123
|
+
scrollToField: (prop: string) => void;
|
|
114
124
|
/**
|
|
115
125
|
* @description:显示/隐藏 项目说明/答案解析
|
|
116
126
|
*/
|
|
@@ -158,6 +168,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
158
168
|
type: BooleanConstructor;
|
|
159
169
|
default: boolean;
|
|
160
170
|
};
|
|
171
|
+
/**
|
|
172
|
+
* @description: 是否禁用
|
|
173
|
+
*/
|
|
161
174
|
disabled: {
|
|
162
175
|
type: BooleanConstructor;
|
|
163
176
|
default: boolean;
|
|
@@ -197,6 +210,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
197
210
|
type: BooleanConstructor;
|
|
198
211
|
default: boolean;
|
|
199
212
|
};
|
|
213
|
+
/**
|
|
214
|
+
* 答题卡显示正确与否
|
|
215
|
+
*/
|
|
216
|
+
showCorrectOrNot: {
|
|
217
|
+
type: BooleanConstructor;
|
|
218
|
+
default: boolean;
|
|
219
|
+
};
|
|
200
220
|
}>> & {
|
|
201
221
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
202
222
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
@@ -208,6 +228,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
208
228
|
uploadOptions: uploadOption;
|
|
209
229
|
realTimeDisplayAnswerMode: boolean;
|
|
210
230
|
everyItemDisplayAnalysisSwitch: boolean;
|
|
231
|
+
showCorrectOrNot: boolean;
|
|
211
232
|
device: string;
|
|
212
233
|
watching: boolean;
|
|
213
234
|
hiddenTitle: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { abnormalCheckType, checkLevelType } from '
|
|
1
|
+
import { abnormalCheckType, checkLevelType } from './enum';
|
|
2
2
|
type abnormalCheck = keyof typeof abnormalCheckType;
|
|
3
3
|
type checkLevel = keyof typeof checkLevelType;
|
|
4
4
|
export interface abnormalCheckView {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { baseAttribute } from './baseAttribute';
|
|
2
|
-
import {
|
|
3
|
-
import { tabsLayoutAttribute } from './layout/tabsLayoutAttribute';
|
|
4
|
-
import { uploadAttribute } from './advanced/uploadAttribute';
|
|
5
|
-
import { employeeAttribute } from './application/employeeAttribute';
|
|
6
|
-
import { gradeAttribute } from './application/gradeAttribute';
|
|
7
|
-
import { postAttribute } from './application/postAttribute';
|
|
2
|
+
import { editAttribute } from './editAttribute';
|
|
8
3
|
import { checkboxAttribute } from './base/checkboxAttribute';
|
|
9
4
|
import { inputAttribute } from './base/inputAttribute';
|
|
10
5
|
import { radioAttribute } from './base/radioAttribute';
|
|
11
6
|
import { datetimeAttribute } from './base/datetimeAttribute';
|
|
12
7
|
import { inputNumberAttribute } from './base/inputNumberAttribute';
|
|
13
|
-
import {
|
|
14
|
-
|
|
8
|
+
import { uploadAttribute } from './advanced/uploadAttribute';
|
|
9
|
+
import { employeeAttribute } from './application/employeeAttribute';
|
|
10
|
+
import { postAttribute } from './application/postAttribute';
|
|
11
|
+
import { gradeAttribute } from './application/gradeAttribute';
|
|
12
|
+
import { groupLayoutAttribute } from './layout/groupLayoutAttribute';
|
|
13
|
+
import { tabsLayoutAttribute } from './layout/tabsLayoutAttribute';
|
|
14
|
+
export type { baseAttribute, editAttribute, checkboxAttribute, inputAttribute, radioAttribute, datetimeAttribute, inputNumberAttribute, uploadAttribute, employeeAttribute, postAttribute, gradeAttribute, groupLayoutAttribute, tabsLayoutAttribute };
|
|
@@ -28,3 +28,46 @@ export declare enum examinationStatusEnum {
|
|
|
28
28
|
*/
|
|
29
29
|
Error = 3
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* @description: 异常值检核类型
|
|
33
|
+
*/
|
|
34
|
+
export declare enum abnormalCheckType {
|
|
35
|
+
/**
|
|
36
|
+
* 上限
|
|
37
|
+
*/
|
|
38
|
+
upperLimit = "\u4E0A\u9650\u503C",
|
|
39
|
+
/**
|
|
40
|
+
* 下限
|
|
41
|
+
*/
|
|
42
|
+
lowerLimit = "\u4E0B\u9650\u503C",
|
|
43
|
+
/**
|
|
44
|
+
* 小数位数
|
|
45
|
+
*/
|
|
46
|
+
decimalPlace = "\u5C0F\u6570\u4F4D"
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* @description: 异常值检核级别类型
|
|
50
|
+
*/
|
|
51
|
+
export declare enum checkLevelType {
|
|
52
|
+
/**
|
|
53
|
+
* 错误
|
|
54
|
+
*/
|
|
55
|
+
error = "\u9519\u8BEF",
|
|
56
|
+
/**
|
|
57
|
+
* 警告
|
|
58
|
+
*/
|
|
59
|
+
warning = "\u8B66\u544A"
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @description: 关联类型
|
|
63
|
+
*/
|
|
64
|
+
export declare enum relevanceType {
|
|
65
|
+
/**
|
|
66
|
+
* 自动选择
|
|
67
|
+
*/
|
|
68
|
+
autoSelect = "\u81EA\u52A8\u9009\u62E9",
|
|
69
|
+
/**
|
|
70
|
+
* 自动取消
|
|
71
|
+
*/
|
|
72
|
+
autoCancel = "\u81EA\u52A8\u53D6\u6D88"
|
|
73
|
+
}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MessageType, filterConditionTypes, componentType } from './types/enum';
|
|
2
|
-
import { dynamicFilter as zhyDynamicFilter, conditionType } from './components/dynamicFilter/index';
|
|
2
|
+
import { dynamicFilter as zhyDynamicFilter, conditionType, filterConditionPropType, filterConditionType, filterItemType, propOptionType } from './components/dynamicFilter/index';
|
|
3
3
|
import { documentView, dynamicFormData, formAttribute, dictionaryData, dictionaryItem, 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
|
import { filePreview as zhyFilePreview, fileView, previewOption } from './components/filePreview/index';
|
|
@@ -12,7 +12,7 @@ import { richTextEditor as zhyRichTextEditor } from './components/richTextEditor
|
|
|
12
12
|
declare const setTheme: (theme: string) => void;
|
|
13
13
|
type optionView = OptionView;
|
|
14
14
|
type selectOptionsView = SelectOptionsView;
|
|
15
|
-
export type { optionView, selectOptionsView, conditionType, dynamicFormData, formAttribute, dictionaryData, dictionaryItem, uploadOption, documentView, batchAddComponentParam, getFormTemplateMethod, formListView, searchParam, fileView, previewOption };
|
|
15
|
+
export type { optionView, selectOptionsView, conditionType, filterConditionPropType, filterConditionType, filterItemType, propOptionType, dynamicFormData, formAttribute, dictionaryData, dictionaryItem, uploadOption, documentView, batchAddComponentParam, getFormTemplateMethod, formListView, searchParam, fileView, previewOption };
|
|
16
16
|
export { MessageType, filterConditionTypes, componentType };
|
|
17
17
|
export { setTheme };
|
|
18
18
|
export { zhyFormDesigner, zhyFormRenderer, zhyDynamicFilter, zhyIcon, zhyFilePreview, zhyRichTextEditor };
|
package/dist/src/types/enum.d.ts
CHANGED
|
@@ -93,46 +93,3 @@ export declare enum componentType {
|
|
|
93
93
|
*/
|
|
94
94
|
CASCADER_SELECTOR = "cascaderSelector"
|
|
95
95
|
}
|
|
96
|
-
/**
|
|
97
|
-
* @description: 异常值检核类型
|
|
98
|
-
*/
|
|
99
|
-
export declare enum abnormalCheckType {
|
|
100
|
-
/**
|
|
101
|
-
* 上限
|
|
102
|
-
*/
|
|
103
|
-
upperLimit = "\u4E0A\u9650\u503C",
|
|
104
|
-
/**
|
|
105
|
-
* 下限
|
|
106
|
-
*/
|
|
107
|
-
lowerLimit = "\u4E0B\u9650\u503C",
|
|
108
|
-
/**
|
|
109
|
-
* 小数位数
|
|
110
|
-
*/
|
|
111
|
-
decimalPlace = "\u5C0F\u6570\u4F4D"
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* @description: 异常值检核级别类型
|
|
115
|
-
*/
|
|
116
|
-
export declare enum checkLevelType {
|
|
117
|
-
/**
|
|
118
|
-
* 错误
|
|
119
|
-
*/
|
|
120
|
-
error = "\u9519\u8BEF",
|
|
121
|
-
/**
|
|
122
|
-
* 警告
|
|
123
|
-
*/
|
|
124
|
-
warning = "\u8B66\u544A"
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* @description: 关联类型
|
|
128
|
-
*/
|
|
129
|
-
export declare enum relevanceType {
|
|
130
|
-
/**
|
|
131
|
-
* 自动选择
|
|
132
|
-
*/
|
|
133
|
-
autoSelect = "\u81EA\u52A8\u9009\u62E9",
|
|
134
|
-
/**
|
|
135
|
-
* 自动取消
|
|
136
|
-
*/
|
|
137
|
-
autoCancel = "\u81EA\u52A8\u53D6\u6D88"
|
|
138
|
-
}
|