zhytech-ui 1.0.1 → 1.0.4
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/dist/src/components/drag/draggable/src/vuedraggable.d.ts +74 -0
- package/dist/src/components/dynamicFilter/index.vue.d.ts +134 -0
- package/dist/src/components/dynamicForm/components/advanced/groupLayout/index.d.ts +57 -0
- package/dist/src/components/dynamicForm/components/advanced/groupLayout/propsEditor.vue.d.ts +8 -0
- package/dist/src/components/dynamicForm/components/advanced/groupLayout/renderer.vue.d.ts +67 -0
- package/dist/src/components/dynamicForm/components/advanced/index.d.ts +4 -0
- package/dist/src/components/dynamicForm/components/advanced/upload/index.d.ts +62 -0
- package/dist/src/components/dynamicForm/components/advanced/upload/propsEditor.vue.d.ts +8 -0
- package/dist/src/components/dynamicForm/components/advanced/upload/renderer.vue.d.ts +79 -0
- package/dist/src/components/dynamicForm/components/advanced/uploadImage/index.d.ts +62 -0
- package/dist/src/components/dynamicForm/components/advanced/uploadImage/propsEditor.vue.d.ts +8 -0
- package/dist/src/components/dynamicForm/components/advanced/uploadImage/renderer.vue.d.ts +79 -0
- package/dist/src/components/dynamicForm/components/application/employee/index.d.ts +113 -0
- package/dist/src/components/dynamicForm/components/application/employee/propsEditor.vue.d.ts +13 -0
- package/dist/src/components/dynamicForm/components/application/employee/renderer.vue.d.ts +100 -0
- package/dist/src/components/dynamicForm/components/application/grade/hooks/useGrade.d.ts +8 -0
- package/dist/src/components/dynamicForm/components/application/grade/index.d.ts +92 -0
- package/dist/src/components/dynamicForm/components/application/grade/propsEditor.vue.d.ts +2 -0
- package/dist/src/components/dynamicForm/components/application/grade/renderer.vue.d.ts +98 -0
- package/dist/src/components/dynamicForm/components/application/index.d.ts +4 -0
- package/dist/src/components/dynamicForm/components/application/post/index.d.ts +93 -0
- package/dist/src/components/dynamicForm/components/application/post/propsEditor.vue.d.ts +2 -0
- package/dist/src/components/dynamicForm/components/application/post/renderer.vue.d.ts +100 -0
- package/dist/src/components/dynamicForm/components/base/checkbox/index.d.ts +103 -0
- package/dist/src/components/dynamicForm/components/base/checkbox/propsEditor.vue.d.ts +21 -0
- package/dist/src/components/dynamicForm/components/base/checkbox/renderer.vue.d.ts +98 -0
- package/dist/src/components/dynamicForm/components/base/index.d.ts +5 -0
- package/dist/src/components/dynamicForm/components/base/input/index.d.ts +107 -0
- package/dist/src/components/dynamicForm/components/base/input/propsEditor.vue.d.ts +2 -0
- package/dist/src/components/dynamicForm/components/base/input/renderer.vue.d.ts +113 -0
- package/dist/src/components/dynamicForm/components/base/label/index.d.ts +24 -0
- package/dist/src/components/dynamicForm/components/base/label/renderer.vue.d.ts +13 -0
- package/dist/src/components/dynamicForm/components/base/radio/index.d.ts +103 -0
- package/dist/src/components/dynamicForm/components/base/radio/propsEditor.vue.d.ts +21 -0
- package/dist/src/components/dynamicForm/components/base/radio/renderer.vue.d.ts +98 -0
- package/dist/src/components/dynamicForm/components/batchAddDialog.vue.d.ts +33 -0
- package/dist/src/components/dynamicForm/components/common/componentAdvancedPropsEditor.vue.d.ts +2 -0
- package/dist/src/components/dynamicForm/components/common/componentBasePropsEditor.vue.d.ts +21 -0
- package/dist/src/components/dynamicForm/components/common/componentDesigner.vue.d.ts +24 -0
- package/dist/src/components/dynamicForm/components/common/componentRenderer.vue.d.ts +53 -0
- package/dist/src/components/dynamicForm/components/common/conditionInput.vue.d.ts +112 -0
- package/dist/src/components/dynamicForm/components/common/dictionaryBinder.vue.d.ts +71 -0
- package/dist/src/components/dynamicForm/components/common/formPropsEditor.vue.d.ts +12 -0
- package/dist/src/components/dynamicForm/components/common/toolbar.vue.d.ts +60 -0
- package/dist/src/components/dynamicForm/components/componentType.d.ts +4 -0
- package/dist/src/components/dynamicForm/formDesigner.vue.d.ts +173 -0
- package/dist/src/components/dynamicForm/formRenderer.vue.d.ts +170 -0
- package/dist/src/components/dynamicForm/index.d.ts +8 -0
- package/dist/src/components/dynamicForm/types/batchAddComponentParam.d.ts +37 -0
- package/dist/src/components/dynamicForm/types/componentAttribute/advanced/groupLayoutAttribute.d.ts +29 -0
- package/dist/src/components/dynamicForm/types/componentAttribute/advanced/uploadAttribute.d.ts +25 -0
- package/dist/src/components/dynamicForm/types/componentAttribute/application/employeeAttribute.d.ts +29 -0
- package/dist/src/components/dynamicForm/types/componentAttribute/application/gradeAttribute.d.ts +45 -0
- package/dist/src/components/dynamicForm/types/componentAttribute/application/postAttribute.d.ts +29 -0
- package/dist/src/components/dynamicForm/types/componentAttribute/base/checkboxAttribute.d.ts +21 -0
- package/dist/src/components/dynamicForm/types/componentAttribute/base/inputAttribute.d.ts +21 -0
- package/dist/src/components/dynamicForm/types/componentAttribute/base/radioAttribute.d.ts +13 -0
- package/dist/src/components/dynamicForm/types/componentAttribute/baseAttribute.d.ts +73 -0
- package/dist/src/components/dynamicForm/types/componentAttribute/editAttribute.d.ts +61 -0
- package/dist/src/components/dynamicForm/types/componentAttribute/index.d.ts +11 -0
- package/dist/src/components/dynamicForm/types/documentView.d.ts +101 -0
- package/dist/src/components/dynamicForm/types/formAttribute.d.ts +84 -0
- package/dist/src/components/dynamicForm/types/uploadOption.d.ts +22 -0
- package/dist/src/index.d.ts +8 -0
- package/package.json +72 -58
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { default as baseComponent } from '../../../types/baseComponent';
|
|
2
|
+
import { baseAttribute, checkboxAttribute, editAttribute } from '../../../types/componentAttribute/index';
|
|
3
|
+
declare class component extends baseComponent {
|
|
4
|
+
constructor();
|
|
5
|
+
/**
|
|
6
|
+
* @description: 获取校验规则
|
|
7
|
+
* @param componentProps
|
|
8
|
+
* @return
|
|
9
|
+
*/
|
|
10
|
+
getRules(componentProps: Record<string, any>): {
|
|
11
|
+
required: any;
|
|
12
|
+
message: any;
|
|
13
|
+
}[];
|
|
14
|
+
/**
|
|
15
|
+
* @description: 获取过滤条件属性
|
|
16
|
+
* @param componentProps
|
|
17
|
+
* @return
|
|
18
|
+
*/
|
|
19
|
+
getFilterConditionProps(componentProps: Record<string, any>): {
|
|
20
|
+
type: string;
|
|
21
|
+
options: any;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @description: 获取组件要排除的过滤条件集合
|
|
25
|
+
*/
|
|
26
|
+
getExcludeFilterConditions(): ("EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "EMPTY" | "INCLUDES" | "EXCLUDE" | "RANGE")[];
|
|
27
|
+
}
|
|
28
|
+
declare const _default: {
|
|
29
|
+
component: typeof component;
|
|
30
|
+
renderer: import('vue').DefineComponent<{
|
|
31
|
+
isDesigner: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
disabled: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
componentID: {
|
|
40
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
datas: {
|
|
44
|
+
type: globalThis.PropType<Record<string, any>>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
componentProps: {
|
|
48
|
+
type: globalThis.PropType<baseAttribute & editAttribute & checkboxAttribute>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
showDescription: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
|
+
"update:datas": (...args: any[]) => void;
|
|
57
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
58
|
+
isDesigner: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
disabled: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
componentID: {
|
|
67
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
68
|
+
required: true;
|
|
69
|
+
};
|
|
70
|
+
datas: {
|
|
71
|
+
type: globalThis.PropType<Record<string, any>>;
|
|
72
|
+
required: true;
|
|
73
|
+
};
|
|
74
|
+
componentProps: {
|
|
75
|
+
type: globalThis.PropType<baseAttribute & editAttribute & checkboxAttribute>;
|
|
76
|
+
required: true;
|
|
77
|
+
};
|
|
78
|
+
showDescription: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
}>> & {
|
|
83
|
+
"onUpdate:datas"?: ((...args: any[]) => any) | undefined;
|
|
84
|
+
}, {
|
|
85
|
+
disabled: boolean;
|
|
86
|
+
showDescription: boolean;
|
|
87
|
+
isDesigner: boolean;
|
|
88
|
+
}, {}>;
|
|
89
|
+
propEditor: import('vue').DefineComponent<{
|
|
90
|
+
dictionary: {
|
|
91
|
+
type: globalThis.PropType<import('../../../types/formAttribute').dictionaryData>;
|
|
92
|
+
default: () => void;
|
|
93
|
+
};
|
|
94
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
95
|
+
dictionary: {
|
|
96
|
+
type: globalThis.PropType<import('../../../types/formAttribute').dictionaryData>;
|
|
97
|
+
default: () => void;
|
|
98
|
+
};
|
|
99
|
+
}>>, {
|
|
100
|
+
dictionary: import('../../../types/formAttribute').dictionaryData;
|
|
101
|
+
}, {}>;
|
|
102
|
+
};
|
|
103
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { dictionaryData } from '../../../types/formAttribute';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
/**
|
|
4
|
+
* @description: 业务字典数据集合
|
|
5
|
+
*/
|
|
6
|
+
dictionary: {
|
|
7
|
+
type: globalThis.PropType<dictionaryData>;
|
|
8
|
+
default: () => void;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
11
|
+
/**
|
|
12
|
+
* @description: 业务字典数据集合
|
|
13
|
+
*/
|
|
14
|
+
dictionary: {
|
|
15
|
+
type: globalThis.PropType<dictionaryData>;
|
|
16
|
+
default: () => void;
|
|
17
|
+
};
|
|
18
|
+
}>>, {
|
|
19
|
+
dictionary: dictionaryData;
|
|
20
|
+
}, {}>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { baseAttribute, checkboxAttribute, editAttribute } from '../../../types/componentAttribute/index';
|
|
2
|
+
type componentType = baseAttribute & editAttribute & checkboxAttribute;
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
/**
|
|
5
|
+
* 是否为设计模式
|
|
6
|
+
*/
|
|
7
|
+
isDesigner: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* 是否禁用
|
|
13
|
+
*/
|
|
14
|
+
disabled: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* 组件ID
|
|
20
|
+
*/
|
|
21
|
+
componentID: {
|
|
22
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* 表单数据
|
|
27
|
+
*/
|
|
28
|
+
datas: {
|
|
29
|
+
type: globalThis.PropType<Record<string, any>>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* 组件属性
|
|
34
|
+
*/
|
|
35
|
+
componentProps: {
|
|
36
|
+
type: globalThis.PropType<componentType>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* 是否项目说明/答案解析
|
|
41
|
+
*/
|
|
42
|
+
showDescription: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
47
|
+
"update:datas": (...args: any[]) => void;
|
|
48
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
49
|
+
/**
|
|
50
|
+
* 是否为设计模式
|
|
51
|
+
*/
|
|
52
|
+
isDesigner: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* 是否禁用
|
|
58
|
+
*/
|
|
59
|
+
disabled: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* 组件ID
|
|
65
|
+
*/
|
|
66
|
+
componentID: {
|
|
67
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
68
|
+
required: true;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* 表单数据
|
|
72
|
+
*/
|
|
73
|
+
datas: {
|
|
74
|
+
type: globalThis.PropType<Record<string, any>>;
|
|
75
|
+
required: true;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* 组件属性
|
|
79
|
+
*/
|
|
80
|
+
componentProps: {
|
|
81
|
+
type: globalThis.PropType<componentType>;
|
|
82
|
+
required: true;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* 是否项目说明/答案解析
|
|
86
|
+
*/
|
|
87
|
+
showDescription: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
}>> & {
|
|
92
|
+
"onUpdate:datas"?: ((...args: any[]) => any) | undefined;
|
|
93
|
+
}, {
|
|
94
|
+
disabled: boolean;
|
|
95
|
+
showDescription: boolean;
|
|
96
|
+
isDesigner: boolean;
|
|
97
|
+
}, {}>;
|
|
98
|
+
export default _default;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { default as baseComponent } from '../../../types/baseComponent';
|
|
2
|
+
import { baseAttribute, editAttribute, inputAttribute } from '../../../types/componentAttribute/index';
|
|
3
|
+
declare class component extends baseComponent {
|
|
4
|
+
/**
|
|
5
|
+
* @description: 构造器
|
|
6
|
+
*/
|
|
7
|
+
constructor();
|
|
8
|
+
/**
|
|
9
|
+
* @description: 获取校验规则
|
|
10
|
+
* @param componentProps
|
|
11
|
+
* @return
|
|
12
|
+
*/
|
|
13
|
+
getRules(componentProps: Record<string, any>): ({
|
|
14
|
+
required: any;
|
|
15
|
+
message: any;
|
|
16
|
+
pattern?: undefined;
|
|
17
|
+
} | {
|
|
18
|
+
pattern: any;
|
|
19
|
+
message: any;
|
|
20
|
+
required?: undefined;
|
|
21
|
+
})[];
|
|
22
|
+
/**
|
|
23
|
+
* @description: 获取过滤条件属性
|
|
24
|
+
* @param componentProps
|
|
25
|
+
* @return
|
|
26
|
+
*/
|
|
27
|
+
getFilterConditionProps(componentProps: Record<string, any>): {
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* @description: 获取组件要排除的过滤条件集合
|
|
32
|
+
*/
|
|
33
|
+
getExcludeFilterConditions(): ("EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "EMPTY" | "INCLUDES" | "EXCLUDE" | "RANGE")[];
|
|
34
|
+
}
|
|
35
|
+
declare const _default: {
|
|
36
|
+
component: typeof component;
|
|
37
|
+
renderer: import('vue').DefineComponent<{
|
|
38
|
+
isDesigner: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
disabled: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
readonly: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
componentID: {
|
|
51
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
datas: {
|
|
55
|
+
type: globalThis.PropType<Record<string, any>>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
componentProps: {
|
|
59
|
+
type: globalThis.PropType<baseAttribute & editAttribute & inputAttribute>;
|
|
60
|
+
required: true;
|
|
61
|
+
};
|
|
62
|
+
showDescription: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
67
|
+
"update:datas": (...args: any[]) => void;
|
|
68
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
69
|
+
isDesigner: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
disabled: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
readonly: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
componentID: {
|
|
82
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
83
|
+
required: true;
|
|
84
|
+
};
|
|
85
|
+
datas: {
|
|
86
|
+
type: globalThis.PropType<Record<string, any>>;
|
|
87
|
+
required: true;
|
|
88
|
+
};
|
|
89
|
+
componentProps: {
|
|
90
|
+
type: globalThis.PropType<baseAttribute & editAttribute & inputAttribute>;
|
|
91
|
+
required: true;
|
|
92
|
+
};
|
|
93
|
+
showDescription: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
97
|
+
}>> & {
|
|
98
|
+
"onUpdate:datas"?: ((...args: any[]) => any) | undefined;
|
|
99
|
+
}, {
|
|
100
|
+
readonly: boolean;
|
|
101
|
+
disabled: boolean;
|
|
102
|
+
showDescription: boolean;
|
|
103
|
+
isDesigner: boolean;
|
|
104
|
+
}, {}>;
|
|
105
|
+
propEditor: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
|
|
106
|
+
};
|
|
107
|
+
export default _default;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { baseAttribute, editAttribute, inputAttribute } from '../../../types/componentAttribute/index';
|
|
2
|
+
type componentType = baseAttribute & editAttribute & inputAttribute;
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
/**
|
|
5
|
+
* 是否为设计模式
|
|
6
|
+
*/
|
|
7
|
+
isDesigner: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* 是否禁用
|
|
13
|
+
*/
|
|
14
|
+
disabled: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* 是否只读
|
|
20
|
+
*/
|
|
21
|
+
readonly: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* 组件ID
|
|
27
|
+
*/
|
|
28
|
+
componentID: {
|
|
29
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* 表单数据
|
|
34
|
+
*/
|
|
35
|
+
datas: {
|
|
36
|
+
type: globalThis.PropType<Record<string, any>>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* 组件属性
|
|
41
|
+
*/
|
|
42
|
+
componentProps: {
|
|
43
|
+
type: globalThis.PropType<componentType>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* 是否项目说明/答案解析
|
|
48
|
+
*/
|
|
49
|
+
showDescription: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
54
|
+
"update:datas": (...args: any[]) => void;
|
|
55
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
56
|
+
/**
|
|
57
|
+
* 是否为设计模式
|
|
58
|
+
*/
|
|
59
|
+
isDesigner: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* 是否禁用
|
|
65
|
+
*/
|
|
66
|
+
disabled: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* 是否只读
|
|
72
|
+
*/
|
|
73
|
+
readonly: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* 组件ID
|
|
79
|
+
*/
|
|
80
|
+
componentID: {
|
|
81
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
82
|
+
required: true;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* 表单数据
|
|
86
|
+
*/
|
|
87
|
+
datas: {
|
|
88
|
+
type: globalThis.PropType<Record<string, any>>;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* 组件属性
|
|
93
|
+
*/
|
|
94
|
+
componentProps: {
|
|
95
|
+
type: globalThis.PropType<componentType>;
|
|
96
|
+
required: true;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* 是否项目说明/答案解析
|
|
100
|
+
*/
|
|
101
|
+
showDescription: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
}>> & {
|
|
106
|
+
"onUpdate:datas"?: ((...args: any[]) => any) | undefined;
|
|
107
|
+
}, {
|
|
108
|
+
readonly: boolean;
|
|
109
|
+
disabled: boolean;
|
|
110
|
+
showDescription: boolean;
|
|
111
|
+
isDesigner: boolean;
|
|
112
|
+
}, {}>;
|
|
113
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { default as baseComponent } from '../../../types/baseComponent';
|
|
2
|
+
import { baseAttribute } from '../../../types/componentAttribute/index';
|
|
3
|
+
declare class component extends baseComponent {
|
|
4
|
+
/**
|
|
5
|
+
* @description: 构造器
|
|
6
|
+
*/
|
|
7
|
+
constructor();
|
|
8
|
+
}
|
|
9
|
+
declare const _default: {
|
|
10
|
+
component: typeof component;
|
|
11
|
+
renderer: import('vue').DefineComponent<{
|
|
12
|
+
componentProps: {
|
|
13
|
+
type: globalThis.PropType<baseAttribute>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
17
|
+
componentProps: {
|
|
18
|
+
type: globalThis.PropType<baseAttribute>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
}>>, {}, {}>;
|
|
22
|
+
undefined: undefined;
|
|
23
|
+
};
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { baseAttribute } from '../../../types/componentAttribute/index';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
componentProps: {
|
|
4
|
+
type: globalThis.PropType<baseAttribute>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
8
|
+
componentProps: {
|
|
9
|
+
type: globalThis.PropType<baseAttribute>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>>, {}, {}>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { default as baseComponent } from '../../../types/baseComponent';
|
|
2
|
+
import { baseAttribute, editAttribute, radioAttribute } from '../../../types/componentAttribute/index';
|
|
3
|
+
declare class component extends baseComponent {
|
|
4
|
+
constructor();
|
|
5
|
+
/**
|
|
6
|
+
* @description: 获取校验规则
|
|
7
|
+
* @param componentProps
|
|
8
|
+
* @return
|
|
9
|
+
*/
|
|
10
|
+
getRules(componentProps: Record<string, any>): {
|
|
11
|
+
required: any;
|
|
12
|
+
message: any;
|
|
13
|
+
}[];
|
|
14
|
+
/**
|
|
15
|
+
* @description: 获取过滤条件属性
|
|
16
|
+
* @param componentProps
|
|
17
|
+
* @return
|
|
18
|
+
*/
|
|
19
|
+
getFilterConditionProps(componentProps: Record<string, any>): {
|
|
20
|
+
type: string;
|
|
21
|
+
options: any;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @description: 获取组件要排除的过滤条件集合
|
|
25
|
+
*/
|
|
26
|
+
getExcludeFilterConditions(): ("EQUALS" | "NOT_EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN_OR_EQUALS" | "EMPTY" | "INCLUDES" | "EXCLUDE" | "RANGE")[];
|
|
27
|
+
}
|
|
28
|
+
declare const _default: {
|
|
29
|
+
component: typeof component;
|
|
30
|
+
renderer: import('vue').DefineComponent<{
|
|
31
|
+
isDesigner: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
disabled: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
componentID: {
|
|
40
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
datas: {
|
|
44
|
+
type: globalThis.PropType<Record<string, any>>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
componentProps: {
|
|
48
|
+
type: globalThis.PropType<baseAttribute & editAttribute & radioAttribute>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
showDescription: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
|
+
"update:datas": (...args: any[]) => void;
|
|
57
|
+
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
58
|
+
isDesigner: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
disabled: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
componentID: {
|
|
67
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
68
|
+
required: true;
|
|
69
|
+
};
|
|
70
|
+
datas: {
|
|
71
|
+
type: globalThis.PropType<Record<string, any>>;
|
|
72
|
+
required: true;
|
|
73
|
+
};
|
|
74
|
+
componentProps: {
|
|
75
|
+
type: globalThis.PropType<baseAttribute & editAttribute & radioAttribute>;
|
|
76
|
+
required: true;
|
|
77
|
+
};
|
|
78
|
+
showDescription: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
}>> & {
|
|
83
|
+
"onUpdate:datas"?: ((...args: any[]) => any) | undefined;
|
|
84
|
+
}, {
|
|
85
|
+
disabled: boolean;
|
|
86
|
+
showDescription: boolean;
|
|
87
|
+
isDesigner: boolean;
|
|
88
|
+
}, {}>;
|
|
89
|
+
propEditor: import('vue').DefineComponent<{
|
|
90
|
+
dictionary: {
|
|
91
|
+
type: globalThis.PropType<import('../../../types/formAttribute').dictionaryData>;
|
|
92
|
+
default: () => void;
|
|
93
|
+
};
|
|
94
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
95
|
+
dictionary: {
|
|
96
|
+
type: globalThis.PropType<import('../../../types/formAttribute').dictionaryData>;
|
|
97
|
+
default: () => void;
|
|
98
|
+
};
|
|
99
|
+
}>>, {
|
|
100
|
+
dictionary: import('../../../types/formAttribute').dictionaryData;
|
|
101
|
+
}, {}>;
|
|
102
|
+
};
|
|
103
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { dictionaryData } from '../../../types/formAttribute';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
/**
|
|
4
|
+
* @description: 业务字典数据集合
|
|
5
|
+
*/
|
|
6
|
+
dictionary: {
|
|
7
|
+
type: globalThis.PropType<dictionaryData>;
|
|
8
|
+
default: () => void;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
11
|
+
/**
|
|
12
|
+
* @description: 业务字典数据集合
|
|
13
|
+
*/
|
|
14
|
+
dictionary: {
|
|
15
|
+
type: globalThis.PropType<dictionaryData>;
|
|
16
|
+
default: () => void;
|
|
17
|
+
};
|
|
18
|
+
}>>, {
|
|
19
|
+
dictionary: dictionaryData;
|
|
20
|
+
}, {}>;
|
|
21
|
+
export default _default;
|