zhytech-ui 1.2.9 → 1.2.11
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 +40 -3
- package/dist/src/components/dynamicFilter/filterItem.vue.d.ts +14 -14
- package/dist/src/components/dynamicFilter/index.vue.d.ts +14 -14
- package/dist/src/components/dynamicForm/components/advanced/upload/index.d.ts +4 -4
- package/dist/src/components/dynamicForm/components/advanced/upload/renderer.vue.d.ts +4 -4
- package/dist/src/components/dynamicForm/components/advanced/uploadImage/index.d.ts +4 -4
- package/dist/src/components/dynamicForm/components/advanced/uploadImage/renderer.vue.d.ts +4 -4
- package/dist/src/components/dynamicForm/components/application/employee/index.d.ts +10 -8
- package/dist/src/components/dynamicForm/components/application/employee/propsEditor.vue.d.ts +15 -7
- package/dist/src/components/dynamicForm/components/application/employee/renderer.vue.d.ts +4 -4
- package/dist/src/components/dynamicForm/components/application/grade/index.d.ts +7 -5
- package/dist/src/components/dynamicForm/components/application/grade/renderer.vue.d.ts +4 -4
- package/dist/src/components/dynamicForm/components/application/post/index.d.ts +7 -5
- package/dist/src/components/dynamicForm/components/application/post/renderer.vue.d.ts +4 -4
- package/dist/src/components/dynamicForm/components/base/checkbox/index.d.ts +9 -7
- package/dist/src/components/dynamicForm/components/base/checkbox/propsEditor.vue.d.ts +2 -2
- package/dist/src/components/dynamicForm/components/base/checkbox/renderer.vue.d.ts +4 -4
- package/dist/src/components/dynamicForm/components/base/date/index.d.ts +7 -5
- package/dist/src/components/dynamicForm/components/base/date/renderer.vue.d.ts +4 -4
- package/dist/src/components/dynamicForm/components/base/input/index.d.ts +7 -5
- package/dist/src/components/dynamicForm/components/base/input/renderer.vue.d.ts +4 -4
- package/dist/src/components/dynamicForm/components/base/inputNumber/index.d.ts +7 -5
- package/dist/src/components/dynamicForm/components/base/inputNumber/renderer.vue.d.ts +4 -4
- package/dist/src/components/dynamicForm/components/base/label/index.d.ts +2 -2
- package/dist/src/components/dynamicForm/components/base/label/renderer.vue.d.ts +2 -2
- package/dist/src/components/dynamicForm/components/base/radio/index.d.ts +9 -7
- package/dist/src/components/dynamicForm/components/base/radio/propsEditor.vue.d.ts +2 -2
- package/dist/src/components/dynamicForm/components/base/radio/renderer.vue.d.ts +4 -4
- package/dist/src/components/dynamicForm/components/base/time/index.d.ts +7 -5
- package/dist/src/components/dynamicForm/components/base/time/renderer.vue.d.ts +4 -4
- package/dist/src/components/dynamicForm/components/common/answerSheet/answerSheetItem.vue.d.ts +4 -4
- package/dist/src/components/dynamicForm/components/common/answerSheet/index.vue.d.ts +2 -2
- package/dist/src/components/dynamicForm/components/common/batchAddDialog.vue.d.ts +2 -2
- package/dist/src/components/dynamicForm/components/common/componentBasePropsEditor.vue.d.ts +2 -2
- package/dist/src/components/dynamicForm/components/common/componentDesigner.vue.d.ts +4 -4
- package/dist/src/components/dynamicForm/components/common/componentRenderer.vue.d.ts +12 -12
- package/dist/src/components/dynamicForm/components/common/conditionInput.vue.d.ts +22 -22
- package/dist/src/components/dynamicForm/components/common/dictionaryBinder.vue.d.ts +2 -2
- package/dist/src/components/dynamicForm/components/common/formPropsEditor.vue.d.ts +15 -5
- package/dist/src/components/dynamicForm/components/common/toolbar.vue.d.ts +8 -8
- package/dist/src/components/dynamicForm/components/layout/groupLayout/index.d.ts +10 -10
- package/dist/src/components/dynamicForm/components/layout/groupLayout/renderer.vue.d.ts +10 -10
- package/dist/src/components/dynamicForm/components/layout/tabs/index.d.ts +4 -4
- package/dist/src/components/dynamicForm/components/layout/tabs/propsEditor.vue.d.ts +2 -2
- package/dist/src/components/dynamicForm/components/layout/tabs/renderer.vue.d.ts +2 -2
- package/dist/src/components/dynamicForm/formDesigner.vue.d.ts +40 -43
- package/dist/src/components/dynamicForm/formRenderer.vue.d.ts +6 -6
- package/dist/src/components/filePreview/components/videoPreview.vue.d.ts +14 -6
- package/dist/src/components/filePreview/index.vue.d.ts +4 -4
- package/dist/src/components/filePreview/types/filePreviewType.d.ts +1 -1
- package/dist/src/components/richTextEditor/index.vue.d.ts +2 -2
- package/dist/src/components/verificationCode/components/clickTextVCode.vue.d.ts +10 -10
- package/dist/src/components/verificationCode/components/puzzleVCode.vue.d.ts +4 -4
- package/dist/src/components/verificationCode/index.vue.d.ts +2 -2
- package/dist/src/hooks/useUtils.d.ts +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/zhytech-ui.es.js +7720 -41965
- package/dist/zhytech-ui.umd.js +11 -607
- package/package.json +8 -35
package/README.md
CHANGED
|
@@ -62,16 +62,53 @@ setTheme("dark");
|
|
|
62
62
|
```ts
|
|
63
63
|
import type { batchAddComponentParam, dynamicFormData, uploadOption } from "zhytech-ui";
|
|
64
64
|
```
|
|
65
|
+
|
|
66
|
+
### 依赖安装说明
|
|
67
|
+
|
|
68
|
+
**重要:在使用此组件库前,请确保安装以下必需依赖:**
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
npm install vue@^3.4.37 element-plus@2.6.1 @vueuse/core@^10.4.1 axios@^1.4.0 dayjs@^1.11.13
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
**可选依赖(根据使用的组件功能选择安装):**
|
|
75
|
+
- 文件预览功能:`npm install @js-preview/docx@^1.6.4 @js-preview/excel@^1.7.14 pptx-preview@^1.0.1 vue-pdf-embed@^2.1.3 xgplayer@^3.0.23`
|
|
76
|
+
- 富文本编辑器:`npm install @wangeditor/editor@5.1.23 @wangeditor/editor-for-vue@5.1.12`
|
|
77
|
+
- 拖拽排序功能:`npm install sortablejs@^1.15.0`
|
|
78
|
+
- 拼图验证码功能:`npm install vue3-puzzle-vcode@^1.1.7`
|
|
79
|
+
|
|
80
|
+
**如果安装时出现peerDependencies冲突警告,请检查依赖版本或使用:**
|
|
81
|
+
```bash
|
|
82
|
+
npm install --legacy-peer-deps
|
|
83
|
+
```
|
|
84
|
+
|
|
65
85
|
> #### 注意:
|
|
66
86
|
|
|
67
87
|
1)、此组件库提供的所有组件在使用时均需要添加**zhy**前缀,如:zhy-form-designer
|
|
68
88
|
|
|
69
|
-
2)
|
|
70
|
-
|
|
71
|
-
3)、在使用zhy-file-preview组件预览pdf组件时,如果出现乱码问题,需要将zhytech-ui\dist\pdfjs-list文件夹复制到项目的public文件夹下
|
|
89
|
+
2)、在使用zhy-file-preview组件预览pdf组件时,如果出现乱码问题,需要将zhytech-ui\dist\pdfjs-list文件夹复制到项目的public文件夹下
|
|
72
90
|
|
|
73
91
|
> #### 版本更新清单:
|
|
74
92
|
|
|
93
|
+
**V 1.2.11**
|
|
94
|
+
```html
|
|
95
|
+
1.修复文件预览PDF文件时,低版本浏览器显示异常
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
**V 1.2.10**
|
|
99
|
+
```html
|
|
100
|
+
1.修复zhy-dynamic-renderer组件中答题卡判断是否答对逻辑错误
|
|
101
|
+
2.修复zhy-dynamic-filter组件级联选择器样式异常
|
|
102
|
+
3.修复zhy-file-preview组件多个视频播放时,视频切换失败
|
|
103
|
+
4.优化zhy-dynamic-form组件demo页面,问卷和试卷拆分为两个页面
|
|
104
|
+
5.优化打包配置,减少项目打包体积
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
**V 1.2.9**
|
|
108
|
+
```html
|
|
109
|
+
1.编译后移除pdfjs-list文件夹,减少项目体积
|
|
110
|
+
```
|
|
111
|
+
|
|
75
112
|
**V 1.2.8**
|
|
76
113
|
```html
|
|
77
114
|
1.调整解决pdf中文乱码的静态文件位置
|
|
@@ -3,7 +3,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
3
3
|
* 过滤属性集合
|
|
4
4
|
*/
|
|
5
5
|
modelValue: {
|
|
6
|
-
type:
|
|
6
|
+
type: PropType<Record<string, any>>;
|
|
7
7
|
required: true;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
@@ -25,10 +25,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
25
25
|
isArray(arg: any): arg is any[];
|
|
26
26
|
readonly prototype: any[];
|
|
27
27
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
28
|
-
from<
|
|
29
|
-
from<
|
|
30
|
-
from<
|
|
31
|
-
of<
|
|
28
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
29
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
30
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
31
|
+
of<T>(...items: T[]): T[];
|
|
32
32
|
readonly [Symbol.species]: ArrayConstructor;
|
|
33
33
|
};
|
|
34
34
|
required: true;
|
|
@@ -37,14 +37,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
37
37
|
* 过滤条件类型集合
|
|
38
38
|
*/
|
|
39
39
|
filterConditions: {
|
|
40
|
-
type:
|
|
40
|
+
type: PropType<Record<string, Record<string, string>[]>>;
|
|
41
41
|
required: true;
|
|
42
42
|
};
|
|
43
43
|
/**
|
|
44
44
|
* 过滤属性的可选值集合
|
|
45
45
|
*/
|
|
46
46
|
conditionProps: {
|
|
47
|
-
type:
|
|
47
|
+
type: PropType<Record<string, any>>;
|
|
48
48
|
required: true;
|
|
49
49
|
};
|
|
50
50
|
/**
|
|
@@ -70,7 +70,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
70
70
|
* 过滤属性集合
|
|
71
71
|
*/
|
|
72
72
|
modelValue: {
|
|
73
|
-
type:
|
|
73
|
+
type: PropType<Record<string, any>>;
|
|
74
74
|
required: true;
|
|
75
75
|
};
|
|
76
76
|
/**
|
|
@@ -92,10 +92,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
92
92
|
isArray(arg: any): arg is any[];
|
|
93
93
|
readonly prototype: any[];
|
|
94
94
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
95
|
-
from<
|
|
96
|
-
from<
|
|
97
|
-
from<
|
|
98
|
-
of<
|
|
95
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
96
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
97
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
98
|
+
of<T>(...items: T[]): T[];
|
|
99
99
|
readonly [Symbol.species]: ArrayConstructor;
|
|
100
100
|
};
|
|
101
101
|
required: true;
|
|
@@ -104,14 +104,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
104
104
|
* 过滤条件类型集合
|
|
105
105
|
*/
|
|
106
106
|
filterConditions: {
|
|
107
|
-
type:
|
|
107
|
+
type: PropType<Record<string, Record<string, string>[]>>;
|
|
108
108
|
required: true;
|
|
109
109
|
};
|
|
110
110
|
/**
|
|
111
111
|
* 过滤属性的可选值集合
|
|
112
112
|
*/
|
|
113
113
|
conditionProps: {
|
|
114
|
-
type:
|
|
114
|
+
type: PropType<Record<string, any>>;
|
|
115
115
|
required: true;
|
|
116
116
|
};
|
|
117
117
|
/**
|
|
@@ -4,21 +4,21 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
4
4
|
* 项目集合
|
|
5
5
|
*/
|
|
6
6
|
items: {
|
|
7
|
-
type:
|
|
7
|
+
type: PropType<filterItemType[]>;
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
11
|
* 过滤条件类型集合
|
|
12
12
|
*/
|
|
13
13
|
conditionTypes: {
|
|
14
|
-
type:
|
|
14
|
+
type: PropType<filterConditionType>;
|
|
15
15
|
required: true;
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
18
18
|
* 过滤属性的可选值集合
|
|
19
19
|
*/
|
|
20
20
|
conditionProps: {
|
|
21
|
-
type:
|
|
21
|
+
type: PropType<filterConditionPropType>;
|
|
22
22
|
required: true;
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
@@ -40,10 +40,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
40
40
|
isArray(arg: any): arg is any[];
|
|
41
41
|
readonly prototype: any[];
|
|
42
42
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
43
|
-
from<
|
|
44
|
-
from<
|
|
45
|
-
from<
|
|
46
|
-
of<
|
|
43
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
44
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
45
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
46
|
+
of<T>(...items: T[]): T[];
|
|
47
47
|
readonly [Symbol.species]: ArrayConstructor;
|
|
48
48
|
};
|
|
49
49
|
default: () => never[];
|
|
@@ -67,21 +67,21 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
67
67
|
* 项目集合
|
|
68
68
|
*/
|
|
69
69
|
items: {
|
|
70
|
-
type:
|
|
70
|
+
type: PropType<filterItemType[]>;
|
|
71
71
|
required: true;
|
|
72
72
|
};
|
|
73
73
|
/**
|
|
74
74
|
* 过滤条件类型集合
|
|
75
75
|
*/
|
|
76
76
|
conditionTypes: {
|
|
77
|
-
type:
|
|
77
|
+
type: PropType<filterConditionType>;
|
|
78
78
|
required: true;
|
|
79
79
|
};
|
|
80
80
|
/**
|
|
81
81
|
* 过滤属性的可选值集合
|
|
82
82
|
*/
|
|
83
83
|
conditionProps: {
|
|
84
|
-
type:
|
|
84
|
+
type: PropType<filterConditionPropType>;
|
|
85
85
|
required: true;
|
|
86
86
|
};
|
|
87
87
|
/**
|
|
@@ -103,10 +103,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
103
103
|
isArray(arg: any): arg is any[];
|
|
104
104
|
readonly prototype: any[];
|
|
105
105
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
106
|
-
from<
|
|
107
|
-
from<
|
|
108
|
-
from<
|
|
109
|
-
of<
|
|
106
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
107
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
108
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
109
|
+
of<T>(...items: T[]): T[];
|
|
110
110
|
readonly [Symbol.species]: ArrayConstructor;
|
|
111
111
|
};
|
|
112
112
|
default: () => never[];
|
|
@@ -15,11 +15,11 @@ declare const _default: {
|
|
|
15
15
|
required: true;
|
|
16
16
|
};
|
|
17
17
|
datas: {
|
|
18
|
-
type:
|
|
18
|
+
type: PropType<Record<string, any>>;
|
|
19
19
|
required: true;
|
|
20
20
|
};
|
|
21
21
|
componentProps: {
|
|
22
|
-
type:
|
|
22
|
+
type: PropType<baseAttribute & uploadAttribute>;
|
|
23
23
|
required: true;
|
|
24
24
|
};
|
|
25
25
|
showDescription: {
|
|
@@ -36,11 +36,11 @@ declare const _default: {
|
|
|
36
36
|
required: true;
|
|
37
37
|
};
|
|
38
38
|
datas: {
|
|
39
|
-
type:
|
|
39
|
+
type: PropType<Record<string, any>>;
|
|
40
40
|
required: true;
|
|
41
41
|
};
|
|
42
42
|
componentProps: {
|
|
43
|
-
type:
|
|
43
|
+
type: PropType<baseAttribute & uploadAttribute>;
|
|
44
44
|
required: true;
|
|
45
45
|
};
|
|
46
46
|
showDescription: {
|
|
@@ -19,14 +19,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
19
19
|
* 表单数据
|
|
20
20
|
*/
|
|
21
21
|
datas: {
|
|
22
|
-
type:
|
|
22
|
+
type: PropType<Record<string, any>>;
|
|
23
23
|
required: true;
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
26
|
* 组件属性
|
|
27
27
|
*/
|
|
28
28
|
componentProps: {
|
|
29
|
-
type:
|
|
29
|
+
type: PropType<componentType>;
|
|
30
30
|
required: true;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
@@ -55,14 +55,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
55
55
|
* 表单数据
|
|
56
56
|
*/
|
|
57
57
|
datas: {
|
|
58
|
-
type:
|
|
58
|
+
type: PropType<Record<string, any>>;
|
|
59
59
|
required: true;
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
62
|
* 组件属性
|
|
63
63
|
*/
|
|
64
64
|
componentProps: {
|
|
65
|
-
type:
|
|
65
|
+
type: PropType<componentType>;
|
|
66
66
|
required: true;
|
|
67
67
|
};
|
|
68
68
|
/**
|
|
@@ -15,11 +15,11 @@ declare const _default: {
|
|
|
15
15
|
required: true;
|
|
16
16
|
};
|
|
17
17
|
datas: {
|
|
18
|
-
type:
|
|
18
|
+
type: PropType<Record<string, any>>;
|
|
19
19
|
required: true;
|
|
20
20
|
};
|
|
21
21
|
componentProps: {
|
|
22
|
-
type:
|
|
22
|
+
type: PropType<baseAttribute & uploadAttribute>;
|
|
23
23
|
required: true;
|
|
24
24
|
};
|
|
25
25
|
showDescription: {
|
|
@@ -36,11 +36,11 @@ declare const _default: {
|
|
|
36
36
|
required: true;
|
|
37
37
|
};
|
|
38
38
|
datas: {
|
|
39
|
-
type:
|
|
39
|
+
type: PropType<Record<string, any>>;
|
|
40
40
|
required: true;
|
|
41
41
|
};
|
|
42
42
|
componentProps: {
|
|
43
|
-
type:
|
|
43
|
+
type: PropType<baseAttribute & uploadAttribute>;
|
|
44
44
|
required: true;
|
|
45
45
|
};
|
|
46
46
|
showDescription: {
|
|
@@ -19,14 +19,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
19
19
|
* 表单数据
|
|
20
20
|
*/
|
|
21
21
|
datas: {
|
|
22
|
-
type:
|
|
22
|
+
type: PropType<Record<string, any>>;
|
|
23
23
|
required: true;
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
26
|
* 组件属性
|
|
27
27
|
*/
|
|
28
28
|
componentProps: {
|
|
29
|
-
type:
|
|
29
|
+
type: PropType<componentType>;
|
|
30
30
|
required: true;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
@@ -55,14 +55,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
55
55
|
* 表单数据
|
|
56
56
|
*/
|
|
57
57
|
datas: {
|
|
58
|
-
type:
|
|
58
|
+
type: PropType<Record<string, any>>;
|
|
59
59
|
required: true;
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
62
|
* 组件属性
|
|
63
63
|
*/
|
|
64
64
|
componentProps: {
|
|
65
|
-
type:
|
|
65
|
+
type: PropType<componentType>;
|
|
66
66
|
required: true;
|
|
67
67
|
};
|
|
68
68
|
/**
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { default as baseComponent } from '../../../types/baseComponent';
|
|
2
2
|
import { baseAttribute, editAttribute, employeeAttribute } from '../../../types/componentAttribute/index';
|
|
3
|
+
import { filterConditionTypes } from '../../../../../types/enum';
|
|
4
|
+
type conditionType = keyof typeof filterConditionTypes;
|
|
3
5
|
declare class component extends baseComponent {
|
|
4
6
|
constructor();
|
|
5
7
|
/**
|
|
@@ -23,7 +25,7 @@ declare class component extends baseComponent {
|
|
|
23
25
|
/**
|
|
24
26
|
* @description: 获取组件要排除的过滤条件集合
|
|
25
27
|
*/
|
|
26
|
-
getExcludeFilterConditions():
|
|
28
|
+
getExcludeFilterConditions(): conditionType[];
|
|
27
29
|
}
|
|
28
30
|
declare const _default: {
|
|
29
31
|
component: typeof component;
|
|
@@ -41,11 +43,11 @@ declare const _default: {
|
|
|
41
43
|
required: true;
|
|
42
44
|
};
|
|
43
45
|
datas: {
|
|
44
|
-
type:
|
|
46
|
+
type: PropType<Record<string, any>>;
|
|
45
47
|
required: true;
|
|
46
48
|
};
|
|
47
49
|
componentProps: {
|
|
48
|
-
type:
|
|
50
|
+
type: PropType<baseAttribute & editAttribute & employeeAttribute>;
|
|
49
51
|
required: true;
|
|
50
52
|
};
|
|
51
53
|
showDescription: {
|
|
@@ -69,11 +71,11 @@ declare const _default: {
|
|
|
69
71
|
required: true;
|
|
70
72
|
};
|
|
71
73
|
datas: {
|
|
72
|
-
type:
|
|
74
|
+
type: PropType<Record<string, any>>;
|
|
73
75
|
required: true;
|
|
74
76
|
};
|
|
75
77
|
componentProps: {
|
|
76
|
-
type:
|
|
78
|
+
type: PropType<baseAttribute & editAttribute & employeeAttribute>;
|
|
77
79
|
required: true;
|
|
78
80
|
};
|
|
79
81
|
showDescription: {
|
|
@@ -97,9 +99,9 @@ declare const _default: {
|
|
|
97
99
|
M: {};
|
|
98
100
|
Defaults: {};
|
|
99
101
|
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
100
|
-
__isFragment?:
|
|
101
|
-
__isTeleport?:
|
|
102
|
-
__isSuspense?:
|
|
102
|
+
__isFragment?: never;
|
|
103
|
+
__isTeleport?: never;
|
|
104
|
+
__isSuspense?: never;
|
|
103
105
|
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
104
106
|
$slots: {
|
|
105
107
|
option?(_: {
|
package/dist/src/components/dynamicForm/components/application/employee/propsEditor.vue.d.ts
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
option?(_: {
|
|
5
|
+
index: number;
|
|
6
|
+
label: any;
|
|
7
|
+
suffix: any;
|
|
8
|
+
}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
8
16
|
export default _default;
|
|
9
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
10
18
|
new (): {
|
|
@@ -26,14 +26,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
26
26
|
* 表单数据
|
|
27
27
|
*/
|
|
28
28
|
datas: {
|
|
29
|
-
type:
|
|
29
|
+
type: PropType<Record<string, any>>;
|
|
30
30
|
required: true;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
33
|
* 组件属性
|
|
34
34
|
*/
|
|
35
35
|
componentProps: {
|
|
36
|
-
type:
|
|
36
|
+
type: PropType<componentType>;
|
|
37
37
|
required: true;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
@@ -72,14 +72,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
72
72
|
* 表单数据
|
|
73
73
|
*/
|
|
74
74
|
datas: {
|
|
75
|
-
type:
|
|
75
|
+
type: PropType<Record<string, any>>;
|
|
76
76
|
required: true;
|
|
77
77
|
};
|
|
78
78
|
/**
|
|
79
79
|
* 组件属性
|
|
80
80
|
*/
|
|
81
81
|
componentProps: {
|
|
82
|
-
type:
|
|
82
|
+
type: PropType<componentType>;
|
|
83
83
|
required: true;
|
|
84
84
|
};
|
|
85
85
|
/**
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { default as baseComponent } from '../../../types/baseComponent';
|
|
2
2
|
import { baseAttribute, editAttribute, gradeAttribute } from '../../../types/componentAttribute/index';
|
|
3
|
+
import { filterConditionTypes } from '../../../../../types/enum';
|
|
4
|
+
type conditionType = keyof typeof filterConditionTypes;
|
|
3
5
|
declare class component extends baseComponent {
|
|
4
6
|
constructor();
|
|
5
7
|
/**
|
|
@@ -24,7 +26,7 @@ declare class component extends baseComponent {
|
|
|
24
26
|
/**
|
|
25
27
|
* @description: 获取组件要排除的过滤条件集合
|
|
26
28
|
*/
|
|
27
|
-
getExcludeFilterConditions():
|
|
29
|
+
getExcludeFilterConditions(): conditionType[];
|
|
28
30
|
}
|
|
29
31
|
declare const _default: {
|
|
30
32
|
component: typeof component;
|
|
@@ -42,11 +44,11 @@ declare const _default: {
|
|
|
42
44
|
required: true;
|
|
43
45
|
};
|
|
44
46
|
datas: {
|
|
45
|
-
type:
|
|
47
|
+
type: PropType<Record<string, any>>;
|
|
46
48
|
required: true;
|
|
47
49
|
};
|
|
48
50
|
componentProps: {
|
|
49
|
-
type:
|
|
51
|
+
type: PropType<baseAttribute & editAttribute & gradeAttribute>;
|
|
50
52
|
required: true;
|
|
51
53
|
};
|
|
52
54
|
showDescription: {
|
|
@@ -69,11 +71,11 @@ declare const _default: {
|
|
|
69
71
|
required: true;
|
|
70
72
|
};
|
|
71
73
|
datas: {
|
|
72
|
-
type:
|
|
74
|
+
type: PropType<Record<string, any>>;
|
|
73
75
|
required: true;
|
|
74
76
|
};
|
|
75
77
|
componentProps: {
|
|
76
|
-
type:
|
|
78
|
+
type: PropType<baseAttribute & editAttribute & gradeAttribute>;
|
|
77
79
|
required: true;
|
|
78
80
|
};
|
|
79
81
|
showDescription: {
|
|
@@ -26,14 +26,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
26
26
|
* 表单数据
|
|
27
27
|
*/
|
|
28
28
|
datas: {
|
|
29
|
-
type:
|
|
29
|
+
type: PropType<Record<string, any>>;
|
|
30
30
|
required: true;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
33
|
* 组件属性
|
|
34
34
|
*/
|
|
35
35
|
componentProps: {
|
|
36
|
-
type:
|
|
36
|
+
type: PropType<componentType>;
|
|
37
37
|
required: true;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
@@ -71,14 +71,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
71
71
|
* 表单数据
|
|
72
72
|
*/
|
|
73
73
|
datas: {
|
|
74
|
-
type:
|
|
74
|
+
type: PropType<Record<string, any>>;
|
|
75
75
|
required: true;
|
|
76
76
|
};
|
|
77
77
|
/**
|
|
78
78
|
* 组件属性
|
|
79
79
|
*/
|
|
80
80
|
componentProps: {
|
|
81
|
-
type:
|
|
81
|
+
type: PropType<componentType>;
|
|
82
82
|
required: true;
|
|
83
83
|
};
|
|
84
84
|
/**
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { default as baseComponent } from '../../../types/baseComponent';
|
|
2
2
|
import { baseAttribute, editAttribute, postAttribute } from '../../../types/componentAttribute/index';
|
|
3
|
+
import { filterConditionTypes } from '../../../../../types/enum';
|
|
4
|
+
type conditionType = keyof typeof filterConditionTypes;
|
|
3
5
|
declare class component extends baseComponent {
|
|
4
6
|
constructor();
|
|
5
7
|
/**
|
|
@@ -23,7 +25,7 @@ declare class component extends baseComponent {
|
|
|
23
25
|
/**
|
|
24
26
|
* @description: 获取组件要排除的过滤条件集合
|
|
25
27
|
*/
|
|
26
|
-
getExcludeFilterConditions():
|
|
28
|
+
getExcludeFilterConditions(): conditionType[];
|
|
27
29
|
}
|
|
28
30
|
declare const _default: {
|
|
29
31
|
component: typeof component;
|
|
@@ -41,11 +43,11 @@ declare const _default: {
|
|
|
41
43
|
required: true;
|
|
42
44
|
};
|
|
43
45
|
datas: {
|
|
44
|
-
type:
|
|
46
|
+
type: PropType<Record<string, any>>;
|
|
45
47
|
required: true;
|
|
46
48
|
};
|
|
47
49
|
componentProps: {
|
|
48
|
-
type:
|
|
50
|
+
type: PropType<baseAttribute & editAttribute & postAttribute>;
|
|
49
51
|
required: true;
|
|
50
52
|
};
|
|
51
53
|
showDescription: {
|
|
@@ -69,11 +71,11 @@ declare const _default: {
|
|
|
69
71
|
required: true;
|
|
70
72
|
};
|
|
71
73
|
datas: {
|
|
72
|
-
type:
|
|
74
|
+
type: PropType<Record<string, any>>;
|
|
73
75
|
required: true;
|
|
74
76
|
};
|
|
75
77
|
componentProps: {
|
|
76
|
-
type:
|
|
78
|
+
type: PropType<baseAttribute & editAttribute & postAttribute>;
|
|
77
79
|
required: true;
|
|
78
80
|
};
|
|
79
81
|
showDescription: {
|
|
@@ -26,14 +26,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
26
26
|
* 表单数据
|
|
27
27
|
*/
|
|
28
28
|
datas: {
|
|
29
|
-
type:
|
|
29
|
+
type: PropType<Record<string, any>>;
|
|
30
30
|
required: true;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
33
|
* 组件属性
|
|
34
34
|
*/
|
|
35
35
|
componentProps: {
|
|
36
|
-
type:
|
|
36
|
+
type: PropType<componentType>;
|
|
37
37
|
required: true;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
@@ -72,14 +72,14 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
72
72
|
* 表单数据
|
|
73
73
|
*/
|
|
74
74
|
datas: {
|
|
75
|
-
type:
|
|
75
|
+
type: PropType<Record<string, any>>;
|
|
76
76
|
required: true;
|
|
77
77
|
};
|
|
78
78
|
/**
|
|
79
79
|
* 组件属性
|
|
80
80
|
*/
|
|
81
81
|
componentProps: {
|
|
82
|
-
type:
|
|
82
|
+
type: PropType<componentType>;
|
|
83
83
|
required: true;
|
|
84
84
|
};
|
|
85
85
|
/**
|