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.
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/index.d.ts +8 -0
  65. package/package.json +72 -58
@@ -0,0 +1,98 @@
1
+ import { baseAttribute, editAttribute, radioAttribute } from '../../../types/componentAttribute/index';
2
+ type componentType = baseAttribute & editAttribute & radioAttribute;
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,33 @@
1
+ import { batchAddComponentParam } from '../types/batchAddComponentParam';
2
+ declare const _default: import('vue').DefineComponent<{
3
+ /**
4
+ * @description: 参数
5
+ */
6
+ params: {
7
+ type: globalThis.PropType<batchAddComponentParam>;
8
+ default: () => void;
9
+ };
10
+ modelValue: {
11
+ type: globalThis.PropType<any>;
12
+ };
13
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ "update:modelValue": (modelValue: any) => void;
15
+ select: (...args: any[]) => void;
16
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
17
+ /**
18
+ * @description: 参数
19
+ */
20
+ params: {
21
+ type: globalThis.PropType<batchAddComponentParam>;
22
+ default: () => void;
23
+ };
24
+ modelValue: {
25
+ type: globalThis.PropType<any>;
26
+ };
27
+ }>> & {
28
+ onSelect?: ((...args: any[]) => any) | undefined;
29
+ "onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
30
+ }, {
31
+ params: batchAddComponentParam;
32
+ }, {}>;
33
+ 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,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,24 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ /**
3
+ * 组件
4
+ */
5
+ components: {
6
+ type: globalThis.PropType<Record<string, any>[]>;
7
+ required: true;
8
+ };
9
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ deleteComponent: (...args: any[]) => void;
11
+ "update:components": (...args: any[]) => void;
12
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
13
+ /**
14
+ * 组件
15
+ */
16
+ components: {
17
+ type: globalThis.PropType<Record<string, any>[]>;
18
+ required: true;
19
+ };
20
+ }>> & {
21
+ onDeleteComponent?: ((...args: any[]) => any) | undefined;
22
+ "onUpdate:components"?: ((...args: any[]) => any) | undefined;
23
+ }, {}, {}>;
24
+ export default _default;
@@ -0,0 +1,53 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ /**
3
+ * 组件
4
+ */
5
+ components: {
6
+ type: globalThis.PropType<Record<string, any>[]>;
7
+ required: true;
8
+ };
9
+ /**
10
+ * 是否显示组件说明
11
+ */
12
+ showDescription: {
13
+ type: BooleanConstructor;
14
+ default: boolean;
15
+ };
16
+ /**
17
+ * 选择模式,批量添加项目时 启用
18
+ */
19
+ selectMode: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
+ select: (...args: any[]) => void;
25
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
26
+ /**
27
+ * 组件
28
+ */
29
+ components: {
30
+ type: globalThis.PropType<Record<string, any>[]>;
31
+ required: true;
32
+ };
33
+ /**
34
+ * 是否显示组件说明
35
+ */
36
+ showDescription: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ /**
41
+ * 选择模式,批量添加项目时 启用
42
+ */
43
+ selectMode: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ }>> & {
48
+ onSelect?: ((...args: any[]) => any) | undefined;
49
+ }, {
50
+ selectMode: boolean;
51
+ showDescription: boolean;
52
+ }, {}>;
53
+ export default _default;
@@ -0,0 +1,112 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ /**
3
+ * 标题
4
+ */
5
+ title: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ };
9
+ /**
10
+ * 显示内容
11
+ */
12
+ content: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ /**
17
+ * 是否显示样式
18
+ */
19
+ showStyle: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ /**
24
+ * 是否可以清空
25
+ */
26
+ clearable: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ /**
31
+ * 默认值
32
+ */
33
+ defaultValue: {
34
+ type: {
35
+ (arrayLength: number): Record<string, any>[];
36
+ (...items: Record<string, any>[]): Record<string, any>[];
37
+ new (arrayLength: number): Record<string, any>[];
38
+ new (...items: Record<string, any>[]): Record<string, any>[];
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
+ };
50
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
51
+ clear: (...args: any[]) => void;
52
+ result: (...args: any[]) => void;
53
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
54
+ /**
55
+ * 标题
56
+ */
57
+ title: {
58
+ type: StringConstructor;
59
+ default: string;
60
+ };
61
+ /**
62
+ * 显示内容
63
+ */
64
+ content: {
65
+ type: StringConstructor;
66
+ default: string;
67
+ };
68
+ /**
69
+ * 是否显示样式
70
+ */
71
+ showStyle: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ /**
76
+ * 是否可以清空
77
+ */
78
+ clearable: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
82
+ /**
83
+ * 默认值
84
+ */
85
+ defaultValue: {
86
+ type: {
87
+ (arrayLength: number): Record<string, any>[];
88
+ (...items: Record<string, any>[]): Record<string, any>[];
89
+ new (arrayLength: number): Record<string, any>[];
90
+ new (...items: Record<string, any>[]): Record<string, any>[];
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
+ };
102
+ }>> & {
103
+ onClear?: ((...args: any[]) => any) | undefined;
104
+ onResult?: ((...args: any[]) => any) | undefined;
105
+ }, {
106
+ showStyle: boolean;
107
+ defaultValue: Record<string, any>[];
108
+ title: string;
109
+ content: string;
110
+ clearable: boolean;
111
+ }, {}>;
112
+ export default _default;
@@ -0,0 +1,71 @@
1
+ import { dictionaryData } from '../../types/formAttribute';
2
+ declare const _default: import('vue').DefineComponent<{
3
+ modelValue: {
4
+ type: StringConstructor;
5
+ required: true;
6
+ };
7
+ /**
8
+ * @description: 业务字典数据
9
+ */
10
+ dictionary: {
11
+ type: globalThis.PropType<dictionaryData>;
12
+ default: () => void;
13
+ };
14
+ placeholder: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ itemHeight: {
19
+ type: NumberConstructor;
20
+ default: number;
21
+ };
22
+ height: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ disabled: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
+ "update:modelValue": (...args: any[]) => void;
32
+ change: (...args: any[]) => void;
33
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
34
+ modelValue: {
35
+ type: StringConstructor;
36
+ required: true;
37
+ };
38
+ /**
39
+ * @description: 业务字典数据
40
+ */
41
+ dictionary: {
42
+ type: globalThis.PropType<dictionaryData>;
43
+ default: () => void;
44
+ };
45
+ placeholder: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ itemHeight: {
50
+ type: NumberConstructor;
51
+ default: number;
52
+ };
53
+ height: {
54
+ type: StringConstructor;
55
+ default: string;
56
+ };
57
+ disabled: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
61
+ }>> & {
62
+ onChange?: ((...args: any[]) => any) | undefined;
63
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
64
+ }, {
65
+ placeholder: string;
66
+ disabled: boolean;
67
+ dictionary: dictionaryData;
68
+ itemHeight: number;
69
+ height: string;
70
+ }, {}>;
71
+ export default _default;
@@ -0,0 +1,12 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {
2
+ validate(callback?: Function): Promise<any>;
3
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>, {
4
+ formBeforeExtendProps?(_: {}): any;
5
+ formAfterExtendProps?(_: {}): any;
6
+ }>;
7
+ export default _default;
8
+ type __VLS_WithTemplateSlots<T, S> = T & {
9
+ new (): {
10
+ $slots: S;
11
+ };
12
+ };
@@ -0,0 +1,60 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ operates: {
3
+ type: {
4
+ (arrayLength: number): String[];
5
+ (...items: String[]): String[];
6
+ new (arrayLength: number): String[];
7
+ new (...items: String[]): String[];
8
+ isArray(arg: any): arg is any[];
9
+ readonly prototype: any[];
10
+ from<T>(arrayLike: ArrayLike<T>): T[];
11
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
12
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
13
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
14
+ of<T_4>(...items: T_4[]): T_4[];
15
+ readonly [Symbol.species]: ArrayConstructor;
16
+ };
17
+ default: () => never[];
18
+ };
19
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ clearComponents: (...args: any[]) => void;
21
+ batchAdd: (...args: any[]) => void;
22
+ viewFormJson: (...args: any[]) => void;
23
+ previewFrom: (...args: any[]) => void;
24
+ saveFrom: (...args: any[]) => void;
25
+ validateForm: (...args: any[]) => void;
26
+ resetForm: (...args: any[]) => void;
27
+ viewDataJson: (...args: any[]) => void;
28
+ toggleDescription: (...args: any[]) => void;
29
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
30
+ operates: {
31
+ type: {
32
+ (arrayLength: number): String[];
33
+ (...items: String[]): String[];
34
+ new (arrayLength: number): String[];
35
+ new (...items: String[]): String[];
36
+ isArray(arg: any): arg is any[];
37
+ readonly prototype: any[];
38
+ from<T>(arrayLike: ArrayLike<T>): T[];
39
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
40
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
41
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
42
+ of<T_4>(...items: T_4[]): T_4[];
43
+ readonly [Symbol.species]: ArrayConstructor;
44
+ };
45
+ default: () => never[];
46
+ };
47
+ }>> & {
48
+ onClearComponents?: ((...args: any[]) => any) | undefined;
49
+ onBatchAdd?: ((...args: any[]) => any) | undefined;
50
+ onViewFormJson?: ((...args: any[]) => any) | undefined;
51
+ onPreviewFrom?: ((...args: any[]) => any) | undefined;
52
+ onSaveFrom?: ((...args: any[]) => any) | undefined;
53
+ onValidateForm?: ((...args: any[]) => any) | undefined;
54
+ onResetForm?: ((...args: any[]) => any) | undefined;
55
+ onViewDataJson?: ((...args: any[]) => any) | undefined;
56
+ onToggleDescription?: ((...args: any[]) => any) | undefined;
57
+ }, {
58
+ operates: String[];
59
+ }, {}>;
60
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import * as advancedComponent from "./advanced/index";
2
+ import * as applicationComponent from "./application/index";
3
+ import * as baseComponent from "./base/index";
4
+ export { baseComponent, advancedComponent, applicationComponent };
@@ -0,0 +1,173 @@
1
+ import { batchAddComponentParam } from './types/batchAddComponentParam';
2
+ import { dictionaryData, dynamicFormData, formAttribute } from './types/formAttribute';
3
+ import { uploadOption } from './types/uploadOption';
4
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
5
+ /**
6
+ * @description: 表单数据,包含表单属性,组件集合、初始数据
7
+ */
8
+ formData: {
9
+ type: globalThis.PropType<dynamicFormData<formAttribute>>;
10
+ required: true;
11
+ };
12
+ /**
13
+ * @description: 要显示的组件库,不传默认显示全部组件
14
+ */
15
+ componentGroups: {
16
+ type: {
17
+ (arrayLength: number): Record<string, any>[];
18
+ (...items: Record<string, any>[]): Record<string, any>[];
19
+ new (arrayLength: number): Record<string, any>[];
20
+ new (...items: Record<string, any>[]): Record<string, any>[];
21
+ isArray(arg: any): arg is any[];
22
+ readonly prototype: any[];
23
+ from<T>(arrayLike: ArrayLike<T>): T[];
24
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
25
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
26
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
27
+ of<T_4>(...items: T_4[]): T_4[];
28
+ readonly [Symbol.species]: ArrayConstructor;
29
+ };
30
+ default: () => never[];
31
+ };
32
+ /**
33
+ * @description: 传入的componentGroups组件库是否和默认的进行合并
34
+ */
35
+ mergeGroup: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ /**
40
+ * @description: 文件上传配置参数
41
+ */
42
+ uploadOptions: {
43
+ type: globalThis.PropType<uploadOption>;
44
+ };
45
+ /**
46
+ * @description: 业务字典数据
47
+ */
48
+ dictionary: {
49
+ type: globalThis.PropType<dictionaryData>;
50
+ default: () => void;
51
+ };
52
+ /**
53
+ * @description: 默认字典来源
54
+ */
55
+ defaultSourceType: {
56
+ type: StringConstructor;
57
+ default: undefined;
58
+ };
59
+ /**
60
+ * @description: 保存方法,不传则不显示保存按钮
61
+ */
62
+ saveMethod: {
63
+ type: FunctionConstructor;
64
+ default: undefined;
65
+ };
66
+ /**
67
+ * @description: 是否为测试模式,默认false
68
+ */
69
+ testMode: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ };
73
+ /**
74
+ * 批量添加组件参数
75
+ */
76
+ batchAddComponentParams: {
77
+ type: globalThis.PropType<batchAddComponentParam>;
78
+ default: () => void;
79
+ };
80
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
81
+ /**
82
+ * @description: 表单数据,包含表单属性,组件集合、初始数据
83
+ */
84
+ formData: {
85
+ type: globalThis.PropType<dynamicFormData<formAttribute>>;
86
+ required: true;
87
+ };
88
+ /**
89
+ * @description: 要显示的组件库,不传默认显示全部组件
90
+ */
91
+ componentGroups: {
92
+ type: {
93
+ (arrayLength: number): Record<string, any>[];
94
+ (...items: Record<string, any>[]): Record<string, any>[];
95
+ new (arrayLength: number): Record<string, any>[];
96
+ new (...items: Record<string, any>[]): Record<string, any>[];
97
+ isArray(arg: any): arg is any[];
98
+ readonly prototype: any[];
99
+ from<T>(arrayLike: ArrayLike<T>): T[];
100
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
101
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
102
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
103
+ of<T_4>(...items: T_4[]): T_4[];
104
+ readonly [Symbol.species]: ArrayConstructor;
105
+ };
106
+ default: () => never[];
107
+ };
108
+ /**
109
+ * @description: 传入的componentGroups组件库是否和默认的进行合并
110
+ */
111
+ mergeGroup: {
112
+ type: BooleanConstructor;
113
+ default: boolean;
114
+ };
115
+ /**
116
+ * @description: 文件上传配置参数
117
+ */
118
+ uploadOptions: {
119
+ type: globalThis.PropType<uploadOption>;
120
+ };
121
+ /**
122
+ * @description: 业务字典数据
123
+ */
124
+ dictionary: {
125
+ type: globalThis.PropType<dictionaryData>;
126
+ default: () => void;
127
+ };
128
+ /**
129
+ * @description: 默认字典来源
130
+ */
131
+ defaultSourceType: {
132
+ type: StringConstructor;
133
+ default: undefined;
134
+ };
135
+ /**
136
+ * @description: 保存方法,不传则不显示保存按钮
137
+ */
138
+ saveMethod: {
139
+ type: FunctionConstructor;
140
+ default: undefined;
141
+ };
142
+ /**
143
+ * @description: 是否为测试模式,默认false
144
+ */
145
+ testMode: {
146
+ type: BooleanConstructor;
147
+ default: boolean;
148
+ };
149
+ /**
150
+ * 批量添加组件参数
151
+ */
152
+ batchAddComponentParams: {
153
+ type: globalThis.PropType<batchAddComponentParam>;
154
+ default: () => void;
155
+ };
156
+ }>>, {
157
+ defaultSourceType: string;
158
+ dictionary: dictionaryData;
159
+ componentGroups: Record<string, any>[];
160
+ mergeGroup: boolean;
161
+ saveMethod: Function;
162
+ testMode: boolean;
163
+ batchAddComponentParams: batchAddComponentParam;
164
+ }, {}>, {
165
+ formBeforeExtendProps?(_: {}): any;
166
+ formAfterExtendProps?(_: {}): any;
167
+ }>;
168
+ export default _default;
169
+ type __VLS_WithTemplateSlots<T, S> = T & {
170
+ new (): {
171
+ $slots: S;
172
+ };
173
+ };