zhytech-ui 1.0.0 → 1.0.2

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