@wyfex/ivue 0.12.0 → 0.14.0

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 (33) hide show
  1. package/dist/index.es.js +23 -6
  2. package/dist/index.umd.cjs +23 -6
  3. package/dist/ivue.css +1 -1
  4. package/dist/types/UseElForm/components/QueryForm.vue.d.ts +134 -0
  5. package/dist/types/UseElForm/components/RowForm.vue.d.ts +140 -0
  6. package/dist/types/UseElForm/components/controls/Cascader.vue.d.ts +14 -0
  7. package/dist/types/UseElForm/components/controls/DatePicker.vue.d.ts +15 -0
  8. package/dist/types/UseElForm/components/controls/Input.vue.d.ts +11 -0
  9. package/dist/types/UseElForm/components/controls/InputNumber.vue.d.ts +10 -0
  10. package/dist/types/UseElForm/components/controls/InputRange.vue.d.ts +11 -0
  11. package/dist/types/UseElForm/components/controls/Radio.vue.d.ts +11 -0
  12. package/dist/types/UseElForm/components/controls/Select.vue.d.ts +18 -0
  13. package/dist/types/UseElForm/components/controls/Switch.vue.d.ts +8 -0
  14. package/dist/types/UseElForm/components/controls/TimePicker.vue.d.ts +10 -0
  15. package/dist/types/UseElForm/components/controls/TimeSelect.vue.d.ts +10 -0
  16. package/dist/types/UseElForm/components/controls/TreeSelect.vue.d.ts +12 -0
  17. package/dist/types/UseElForm/components/useQueryColSpan.d.ts +6 -0
  18. package/dist/types/UseElForm/hook.d.ts +14 -0
  19. package/dist/types/UseElForm/index.vue.d.ts +139 -0
  20. package/dist/types/UseElForm/props.d.ts +60 -0
  21. package/dist/types/UseElForm/types.d.ts +194 -0
  22. package/dist/types/UseLineTitle/defaultExtConfig.d.ts +19 -0
  23. package/dist/types/UseLineTitle/index.vue.d.ts +50 -0
  24. package/dist/types/UseLineTitle/props.d.ts +25 -0
  25. package/dist/types/UseLineTitle/types.d.ts +24 -0
  26. package/dist/types/index.d.ts +2 -0
  27. package/package.json +1 -1
  28. package/src/components/UseElDialog/props.ts +2 -2
  29. package/src/components/UseElForm/props.ts +102 -0
  30. package/src/components/UseElForm/types.ts +371 -0
  31. package/src/components/UseLineTitle/defaultExtConfig.ts +32 -0
  32. package/src/components/UseLineTitle/props.ts +43 -0
  33. package/src/components/UseLineTitle/types.ts +44 -0
@@ -0,0 +1,134 @@
1
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ formColumns: {
3
+ type: import('vue').PropType<import('../types').FormColumn[]>;
4
+ required: boolean;
5
+ };
6
+ formModel: {
7
+ type: import('vue').PropType<Record<string, any>>;
8
+ required: boolean;
9
+ };
10
+ useRender: {
11
+ type: import('vue').PropType<boolean | import('../../../types').RenderConfig>;
12
+ default: boolean;
13
+ };
14
+ dictMap: {
15
+ type: import('vue').PropType<import('../../../types').DictMap>;
16
+ default: () => {};
17
+ };
18
+ dictProps: {
19
+ type: import('vue').PropType<import('../../../types').DictProps>;
20
+ default: () => {};
21
+ };
22
+ formItemWidth: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ labelSuffix: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ labelWidth: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ labelPosition: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ validator: (val: string) => boolean;
38
+ };
39
+ rowGutter: {
40
+ type: NumberConstructor;
41
+ default: number;
42
+ };
43
+ colSpan: {
44
+ type: NumberConstructor;
45
+ default: number;
46
+ validator: (val: number) => boolean;
47
+ };
48
+ disabled: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ queryConfig: {
53
+ type: import('vue').PropType<import('../types').QueryConfig>;
54
+ default: () => {};
55
+ };
56
+ }>, {
57
+ showQueryForm: import('vue').Ref<boolean, boolean>;
58
+ handleDisplayQueryForm: () => Promise<void>;
59
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
60
+ onDictKeys: (value?: string[] | undefined) => any;
61
+ "update:formModel": (value: Record<string, any>) => any;
62
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
63
+ formColumns: {
64
+ type: import('vue').PropType<import('../types').FormColumn[]>;
65
+ required: boolean;
66
+ };
67
+ formModel: {
68
+ type: import('vue').PropType<Record<string, any>>;
69
+ required: boolean;
70
+ };
71
+ useRender: {
72
+ type: import('vue').PropType<boolean | import('../../../types').RenderConfig>;
73
+ default: boolean;
74
+ };
75
+ dictMap: {
76
+ type: import('vue').PropType<import('../../../types').DictMap>;
77
+ default: () => {};
78
+ };
79
+ dictProps: {
80
+ type: import('vue').PropType<import('../../../types').DictProps>;
81
+ default: () => {};
82
+ };
83
+ formItemWidth: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ };
87
+ labelSuffix: {
88
+ type: StringConstructor;
89
+ default: string;
90
+ };
91
+ labelWidth: {
92
+ type: StringConstructor;
93
+ default: string;
94
+ };
95
+ labelPosition: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ validator: (val: string) => boolean;
99
+ };
100
+ rowGutter: {
101
+ type: NumberConstructor;
102
+ default: number;
103
+ };
104
+ colSpan: {
105
+ type: NumberConstructor;
106
+ default: number;
107
+ validator: (val: number) => boolean;
108
+ };
109
+ disabled: {
110
+ type: BooleanConstructor;
111
+ default: boolean;
112
+ };
113
+ queryConfig: {
114
+ type: import('vue').PropType<import('../types').QueryConfig>;
115
+ default: () => {};
116
+ };
117
+ }>> & Readonly<{
118
+ onOnDictKeys?: ((value?: string[] | undefined) => any) | undefined;
119
+ "onUpdate:formModel"?: ((value: Record<string, any>) => any) | undefined;
120
+ }>, {
121
+ dictMap: import('../../../types').DictMap;
122
+ useRender: boolean | import('../../../types').RenderConfig;
123
+ dictProps: import('../../../types').DictProps;
124
+ labelWidth: string;
125
+ formItemWidth: string;
126
+ labelSuffix: string;
127
+ labelPosition: string;
128
+ rowGutter: number;
129
+ colSpan: number;
130
+ disabled: boolean;
131
+ queryConfig: import('../types').QueryConfig;
132
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
133
+ declare const _default: typeof __VLS_export;
134
+ export default _default;
@@ -0,0 +1,140 @@
1
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ formColumns: {
3
+ type: import('vue').PropType<import('../types.js').FormColumn[]>;
4
+ required: boolean;
5
+ };
6
+ formModel: {
7
+ type: import('vue').PropType<Record<string, any>>;
8
+ required: boolean;
9
+ };
10
+ useRender: {
11
+ type: import('vue').PropType<boolean | import('../../../types/index.js').RenderConfig>;
12
+ default: boolean;
13
+ };
14
+ dictMap: {
15
+ type: import('vue').PropType<import('../../../types/index.js').DictMap>;
16
+ default: () => {};
17
+ };
18
+ dictProps: {
19
+ type: import('vue').PropType<import('../../../types/index.js').DictProps>;
20
+ default: () => {};
21
+ };
22
+ formItemWidth: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ labelSuffix: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ labelWidth: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ labelPosition: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ validator: (val: string) => boolean;
38
+ };
39
+ rowGutter: {
40
+ type: NumberConstructor;
41
+ default: number;
42
+ };
43
+ colSpan: {
44
+ type: NumberConstructor;
45
+ default: number;
46
+ validator: (val: number) => boolean;
47
+ };
48
+ disabled: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ queryConfig: {
53
+ type: import('vue').PropType<import('../types.js').QueryConfig>;
54
+ default: () => {};
55
+ };
56
+ }>, {
57
+ efRef: import('vue').Ref<null, null>;
58
+ cascaderRef: import('vue').Ref<null, null>;
59
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
60
+ onDictKeys: (value?: string[] | undefined) => any;
61
+ "update:formModel": (value: Record<string, any>) => any;
62
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
63
+ formColumns: {
64
+ type: import('vue').PropType<import('../types.js').FormColumn[]>;
65
+ required: boolean;
66
+ };
67
+ formModel: {
68
+ type: import('vue').PropType<Record<string, any>>;
69
+ required: boolean;
70
+ };
71
+ useRender: {
72
+ type: import('vue').PropType<boolean | import('../../../types/index.js').RenderConfig>;
73
+ default: boolean;
74
+ };
75
+ dictMap: {
76
+ type: import('vue').PropType<import('../../../types/index.js').DictMap>;
77
+ default: () => {};
78
+ };
79
+ dictProps: {
80
+ type: import('vue').PropType<import('../../../types/index.js').DictProps>;
81
+ default: () => {};
82
+ };
83
+ formItemWidth: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ };
87
+ labelSuffix: {
88
+ type: StringConstructor;
89
+ default: string;
90
+ };
91
+ labelWidth: {
92
+ type: StringConstructor;
93
+ default: string;
94
+ };
95
+ labelPosition: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ validator: (val: string) => boolean;
99
+ };
100
+ rowGutter: {
101
+ type: NumberConstructor;
102
+ default: number;
103
+ };
104
+ colSpan: {
105
+ type: NumberConstructor;
106
+ default: number;
107
+ validator: (val: number) => boolean;
108
+ };
109
+ disabled: {
110
+ type: BooleanConstructor;
111
+ default: boolean;
112
+ };
113
+ queryConfig: {
114
+ type: import('vue').PropType<import('../types.js').QueryConfig>;
115
+ default: () => {};
116
+ };
117
+ }>> & Readonly<{
118
+ onOnDictKeys?: ((value?: string[] | undefined) => any) | undefined;
119
+ "onUpdate:formModel"?: ((value: Record<string, any>) => any) | undefined;
120
+ }>, {
121
+ dictMap: import('../../../types/index.js').DictMap;
122
+ useRender: boolean | import('../../../types/index.js').RenderConfig;
123
+ dictProps: import('../../../types/index.js').DictProps;
124
+ labelWidth: string;
125
+ formItemWidth: string;
126
+ labelSuffix: string;
127
+ labelPosition: string;
128
+ rowGutter: number;
129
+ colSpan: number;
130
+ disabled: boolean;
131
+ queryConfig: import('../types.js').QueryConfig;
132
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
133
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
134
+ declare const _default: typeof __VLS_export;
135
+ export default _default;
136
+ type __VLS_WithSlots<T, S> = T & {
137
+ new (): {
138
+ $slots: S;
139
+ };
140
+ };
@@ -0,0 +1,14 @@
1
+ import { FormColumn } from '../../types';
2
+ import { DictMap, GlobalConfig } from '../../../../../types';
3
+ type __VLS_Props = {
4
+ item: FormColumn;
5
+ formModel: Record<string, any>;
6
+ globalConfig: GlobalConfig;
7
+ dictMap: DictMap;
8
+ formItemWidth: string;
9
+ };
10
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
11
+ cascaderRef: import('vue').Ref<null, null>;
12
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import { FormColumn } from '../../types';
2
+ import { GlobalConfig } from '../../../../../types';
3
+ type __VLS_Props = {
4
+ modelValue: string | string[] | undefined;
5
+ item: FormColumn;
6
+ formModel: Record<string, any>;
7
+ globalConfig: GlobalConfig;
8
+ };
9
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
+ "update:modelValue": (value: string | string[]) => any;
11
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ "onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { FormColumn } from '../../types';
2
+ import { GlobalConfig } from '../../../../../types';
3
+ type __VLS_Props = {
4
+ item: FormColumn;
5
+ formModel: Record<string, any>;
6
+ globalConfig: GlobalConfig;
7
+ formItemWidth: string;
8
+ };
9
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import { FormColumn } from '../../types';
2
+ import { GlobalConfig } from '../../../../../types';
3
+ type __VLS_Props = {
4
+ item: FormColumn;
5
+ formModel: Record<string, any>;
6
+ globalConfig: GlobalConfig;
7
+ };
8
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { FormColumn } from '../../types';
2
+ import { GlobalConfig } from '../../../../../types';
3
+ type __VLS_Props = {
4
+ item: FormColumn;
5
+ formModel: Record<string, any>;
6
+ globalConfig: GlobalConfig;
7
+ formItemWidth: string;
8
+ };
9
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { FormColumn } from '../../types';
2
+ import { DictMap, GlobalConfig } from '../../../../../types';
3
+ type __VLS_Props = {
4
+ item: FormColumn;
5
+ formModel: Record<string, any>;
6
+ globalConfig: GlobalConfig;
7
+ dictMap: DictMap;
8
+ };
9
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { FormColumn } from '../../types';
2
+ import { DictMap, GlobalConfig } from '../../../../../types';
3
+ type __VLS_Props = {
4
+ modelValue: string | number | boolean | string[] | number[];
5
+ item: FormColumn;
6
+ globalConfig: GlobalConfig;
7
+ dictMap: DictMap;
8
+ formItemWidth: string;
9
+ };
10
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
11
+ "update:modelValue": (value: string | number | boolean | string[] | number[]) => any;
12
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: string | number | boolean | string[] | number[]) => any) | undefined;
14
+ }>, {
15
+ modelValue: string | number | boolean | string[] | number[];
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { FormColumn } from '../../types';
2
+ type __VLS_Props = {
3
+ item: FormColumn;
4
+ formModel: Record<string, any>;
5
+ };
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import { FormColumn } from '../../types';
2
+ import { GlobalConfig } from '../../../../../types';
3
+ type __VLS_Props = {
4
+ item: FormColumn;
5
+ formModel: Record<string, any>;
6
+ globalConfig: GlobalConfig;
7
+ };
8
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import { FormColumn } from '../../types';
2
+ import { GlobalConfig } from '../../../../../types';
3
+ type __VLS_Props = {
4
+ item: FormColumn;
5
+ formModel: Record<string, any>;
6
+ globalConfig: GlobalConfig;
7
+ };
8
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { FormColumn } from '../../types';
2
+ import { DictMap, GlobalConfig } from '../../../../../types';
3
+ type __VLS_Props = {
4
+ item: FormColumn;
5
+ formModel: Record<string, any>;
6
+ globalConfig: GlobalConfig;
7
+ dictMap: DictMap;
8
+ formItemWidth: string;
9
+ };
10
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { ComputedRef } from 'vue';
2
+ import { FormColumn, Props } from '../types';
3
+ export declare const useQueryColSpan: (props: Props, formColumnsComputed: ComputedRef<FormColumn[]>) => {
4
+ queryColSpanComputed: ComputedRef<0 | 1 | 2 | 3 | 4 | 6 | 8 | 12 | 24>;
5
+ btnColSpanComputed: ComputedRef<number>;
6
+ };
@@ -0,0 +1,14 @@
1
+ import { ComputedRef } from 'vue';
2
+ import { Emits, FormColumn, Props } from './types';
3
+ import { GlobalConfig } from '../../../types';
4
+ export declare const useElForm: ({ props, emits, globalConfig }: {
5
+ props: Props;
6
+ emits: Emits;
7
+ globalConfig: ComputedRef<GlobalConfig>;
8
+ }) => {
9
+ formColumnsComputed: ComputedRef<FormColumn[]>;
10
+ formRules: ComputedRef<Record<string, any>>;
11
+ resolveQueryParams: (formColumns: FormColumn[], formModel: Record<string, any>) => Record<string, any>;
12
+ processRenderContent: ComputedRef<(item: FormColumn) => any>;
13
+ getFormComponent: ComputedRef<(item: FormColumn, componentMap: Record<string, any>) => any>;
14
+ };
@@ -0,0 +1,139 @@
1
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ formColumns: {
3
+ type: import('vue').PropType<import('./types').FormColumn[]>;
4
+ required: boolean;
5
+ };
6
+ formModel: {
7
+ type: import('vue').PropType<Record<string, any>>;
8
+ required: boolean;
9
+ };
10
+ useRender: {
11
+ type: import('vue').PropType<boolean | import('../../types').RenderConfig>;
12
+ default: boolean;
13
+ };
14
+ dictMap: {
15
+ type: import('vue').PropType<import('../../types').DictMap>;
16
+ default: () => {};
17
+ };
18
+ dictProps: {
19
+ type: import('vue').PropType<import('../../types').DictProps>;
20
+ default: () => {};
21
+ };
22
+ formItemWidth: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ labelSuffix: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ labelWidth: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ labelPosition: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ validator: (val: string) => boolean;
38
+ };
39
+ rowGutter: {
40
+ type: NumberConstructor;
41
+ default: number;
42
+ };
43
+ colSpan: {
44
+ type: NumberConstructor;
45
+ default: number;
46
+ validator: (val: number) => boolean;
47
+ };
48
+ disabled: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ queryConfig: {
53
+ type: import('vue').PropType<import('./types').QueryConfig>;
54
+ default: () => {};
55
+ };
56
+ }>, {
57
+ validate: import('vue').ComputedRef<((callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult) | undefined>;
58
+ resetFields: import('vue').ComputedRef<((props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void) | undefined>;
59
+ clearValidate: import('vue').ComputedRef<((props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void) | undefined>;
60
+ showQueryForm: import('vue').ComputedRef<boolean | undefined>;
61
+ handleDisplayQueryForm: import('vue').ComputedRef<Function | undefined>;
62
+ processApiData: (apiData: Record<string, any>) => Record<string, any>;
63
+ getProcessedFormModel: () => Record<string, any>;
64
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
65
+ formColumns: {
66
+ type: import('vue').PropType<import('./types').FormColumn[]>;
67
+ required: boolean;
68
+ };
69
+ formModel: {
70
+ type: import('vue').PropType<Record<string, any>>;
71
+ required: boolean;
72
+ };
73
+ useRender: {
74
+ type: import('vue').PropType<boolean | import('../../types').RenderConfig>;
75
+ default: boolean;
76
+ };
77
+ dictMap: {
78
+ type: import('vue').PropType<import('../../types').DictMap>;
79
+ default: () => {};
80
+ };
81
+ dictProps: {
82
+ type: import('vue').PropType<import('../../types').DictProps>;
83
+ default: () => {};
84
+ };
85
+ formItemWidth: {
86
+ type: StringConstructor;
87
+ default: string;
88
+ };
89
+ labelSuffix: {
90
+ type: StringConstructor;
91
+ default: string;
92
+ };
93
+ labelWidth: {
94
+ type: StringConstructor;
95
+ default: string;
96
+ };
97
+ labelPosition: {
98
+ type: StringConstructor;
99
+ default: string;
100
+ validator: (val: string) => boolean;
101
+ };
102
+ rowGutter: {
103
+ type: NumberConstructor;
104
+ default: number;
105
+ };
106
+ colSpan: {
107
+ type: NumberConstructor;
108
+ default: number;
109
+ validator: (val: number) => boolean;
110
+ };
111
+ disabled: {
112
+ type: BooleanConstructor;
113
+ default: boolean;
114
+ };
115
+ queryConfig: {
116
+ type: import('vue').PropType<import('./types').QueryConfig>;
117
+ default: () => {};
118
+ };
119
+ }>> & Readonly<{}>, {
120
+ dictMap: import('../../types').DictMap;
121
+ useRender: boolean | import('../../types').RenderConfig;
122
+ dictProps: import('../../types').DictProps;
123
+ labelWidth: string;
124
+ formItemWidth: string;
125
+ labelSuffix: string;
126
+ labelPosition: string;
127
+ rowGutter: number;
128
+ colSpan: number;
129
+ disabled: boolean;
130
+ queryConfig: import('./types').QueryConfig;
131
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
132
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
133
+ declare const _default: typeof __VLS_export;
134
+ export default _default;
135
+ type __VLS_WithSlots<T, S> = T & {
136
+ new (): {
137
+ $slots: S;
138
+ };
139
+ };
@@ -0,0 +1,60 @@
1
+ import { PropType } from 'vue';
2
+ import { FormColumn, QueryConfig } from './types';
3
+ import { DictMap, DictProps, RenderConfig } from '../../../types';
4
+ declare const _default: {
5
+ formColumns: {
6
+ type: PropType<FormColumn[]>;
7
+ required: boolean;
8
+ };
9
+ formModel: {
10
+ type: PropType<Record<string, any>>;
11
+ required: boolean;
12
+ };
13
+ useRender: {
14
+ type: PropType<boolean | RenderConfig>;
15
+ default: boolean;
16
+ };
17
+ dictMap: {
18
+ type: PropType<DictMap>;
19
+ default: () => {};
20
+ };
21
+ dictProps: {
22
+ type: PropType<DictProps>;
23
+ default: () => {};
24
+ };
25
+ formItemWidth: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ labelSuffix: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ labelWidth: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ labelPosition: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ validator: (val: string) => boolean;
41
+ };
42
+ rowGutter: {
43
+ type: NumberConstructor;
44
+ default: number;
45
+ };
46
+ colSpan: {
47
+ type: NumberConstructor;
48
+ default: number;
49
+ validator: (val: number) => boolean;
50
+ };
51
+ disabled: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ queryConfig: {
56
+ type: PropType<QueryConfig>;
57
+ default: () => {};
58
+ };
59
+ };
60
+ export default _default;