@wyfex/ivue 0.22.1 → 0.22.3
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/index.es.js +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/ivue.css +1 -1
- package/dist/types/UseCrud/defaultExtConfig.d.ts +4 -3
- package/dist/types/UseCrud/hook.d.ts +4 -2
- package/dist/types/UseCrud/index.vue.d.ts +2 -1
- package/dist/types/UseCrud/types.d.ts +2 -10
- package/dist/types/UseElConfigProvider/defaultExtConfig.d.ts +12 -4
- package/dist/types/UseElConfigProvider/index.vue.d.ts +1 -1
- package/dist/types/UseElConfigProvider/types.d.ts +10 -2
- package/dist/types/UseElDescriptions/index.vue.d.ts +9 -18
- package/dist/types/UseElDescriptions/props.d.ts +5 -9
- package/dist/types/UseElForm/components/QueryForm.vue.d.ts +9 -18
- package/dist/types/UseElForm/components/RowForm.vue.d.ts +23 -28
- package/dist/types/UseElForm/components/controls/Cascader.vue.d.ts +2 -2
- package/dist/types/UseElForm/components/controls/Radio.vue.d.ts +2 -2
- package/dist/types/UseElForm/components/controls/Select.vue.d.ts +2 -2
- package/dist/types/UseElForm/components/controls/TreeSelect.vue.d.ts +2 -2
- package/dist/types/UseElForm/index.vue.d.ts +9 -18
- package/dist/types/UseElForm/props.d.ts +5 -9
- package/dist/types/UseElSelect/index.vue.d.ts +5 -5
- package/dist/types/UseElSelect/props.d.ts +3 -3
- package/dist/types/UseElTable/defaultExtConfig.d.ts +5 -0
- package/dist/types/UseElTable/index.vue.d.ts +6 -15
- package/dist/types/UseElTable/props.d.ts +3 -7
- package/dist/types/UseElTable/types.d.ts +15 -0
- package/package.json +1 -1
- package/src/components/UseCrud/defaultExtConfig.ts +1 -1
- package/src/components/UseCrud/types.ts +1 -18
- package/src/components/UseElConfigProvider/defaultExtConfig.ts +7 -1
- package/src/components/UseElConfigProvider/types.ts +21 -3
- package/src/components/UseElDescriptions/props.ts +8 -15
- package/src/components/UseElForm/props.ts +8 -15
- package/src/components/UseElSelect/props.ts +5 -4
- package/src/components/UseElTable/defaultExtConfig.ts +1 -0
- package/src/components/UseElTable/props.ts +4 -11
- package/src/components/UseElTable/types.ts +27 -0
- package/src/types/index.ts +36 -0
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { ComputedRef, Slots } from 'vue';
|
|
1
|
+
import { ComputedRef, Slots, Ref } from 'vue';
|
|
2
2
|
import { Props, UseCrudReturn } from './types';
|
|
3
3
|
import { GlobalConfig } from '../../types';
|
|
4
|
-
export declare const useCrud: ({ mergedProps, globalConfig, slots, uefRef, modalRef }: {
|
|
4
|
+
export declare const useCrud: ({ mergedProps, globalConfig, waitDictReady, dictKeys, slots, uefRef, modalRef }: {
|
|
5
5
|
mergedProps: ComputedRef<Props>;
|
|
6
6
|
globalConfig: ComputedRef<GlobalConfig>;
|
|
7
|
+
waitDictReady: Function;
|
|
8
|
+
dictKeys: Ref<string[]>;
|
|
7
9
|
slots: Slots;
|
|
8
10
|
uefRef: any;
|
|
9
11
|
modalRef: any;
|
|
@@ -14,7 +14,8 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
14
14
|
handleDelete: (payload: {
|
|
15
15
|
id?: string | number;
|
|
16
16
|
ids?: string | Array<string | number>;
|
|
17
|
-
},
|
|
17
|
+
}, config: {
|
|
18
|
+
api: Function;
|
|
18
19
|
source?: Record<string, unknown>;
|
|
19
20
|
key?: string;
|
|
20
21
|
}, successCb?: () => void, errorCb?: (err: unknown) => void, successMsg?: string) => Promise<void>;
|
|
@@ -26,14 +26,6 @@ export interface ActionBar {
|
|
|
26
26
|
divider?: Divider;
|
|
27
27
|
}
|
|
28
28
|
export interface ExtConfig {
|
|
29
|
-
crudFetch?: {
|
|
30
|
-
queryApi?: Function;
|
|
31
|
-
queryImmediate?: boolean;
|
|
32
|
-
autoCancelQueryStrategy?: 'none' | 'unmount' | 'deactivate' | 'both';
|
|
33
|
-
onQueryBefore?: (done: () => void) => void;
|
|
34
|
-
onQueryError?: (err: any) => void;
|
|
35
|
-
deleteApi?: Function;
|
|
36
|
-
};
|
|
37
29
|
actionBar?: ActionBar;
|
|
38
30
|
modal?: {
|
|
39
31
|
type?: 'Drawer' | 'Dialog';
|
|
@@ -50,7 +42,6 @@ export interface UseCrudState {
|
|
|
50
42
|
currentPage: number;
|
|
51
43
|
pageSize: number;
|
|
52
44
|
total: number;
|
|
53
|
-
dictMap: Record<string, any>;
|
|
54
45
|
}
|
|
55
46
|
export interface UseCrudReturn {
|
|
56
47
|
state: Ref<UseCrudState>;
|
|
@@ -64,7 +55,8 @@ export interface UseCrudReturn {
|
|
|
64
55
|
handleDelete: (payload: {
|
|
65
56
|
id?: string | number;
|
|
66
57
|
ids?: string | Array<string | number>;
|
|
67
|
-
},
|
|
58
|
+
}, config: {
|
|
59
|
+
api: Function;
|
|
68
60
|
source?: Record<string, unknown>;
|
|
69
61
|
key?: string;
|
|
70
62
|
}, successCb?: () => void, errorCb?: (err: unknown) => void, successMsg?: string) => Promise<void>;
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
dict: {
|
|
3
|
+
props: {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
children: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
queryApiPayload: {
|
|
10
|
+
pageField: string;
|
|
11
|
+
pageSizeField: string;
|
|
12
|
+
records: string;
|
|
13
|
+
total: string;
|
|
6
14
|
};
|
|
7
15
|
table: {
|
|
8
16
|
pageBottomOffset: number;
|
|
@@ -23,8 +23,8 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
23
23
|
default: () => {};
|
|
24
24
|
};
|
|
25
25
|
}>> & Readonly<{}>, {
|
|
26
|
-
extConfig: import('./types').ExtConfig;
|
|
27
26
|
language: string;
|
|
27
|
+
extConfig: import('./types').ExtConfig;
|
|
28
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
29
29
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
import { default as componentProps } from './props';
|
|
3
|
-
import {
|
|
3
|
+
import { Dict, UploadConfig } from '../../types';
|
|
4
4
|
export type Props = ExtractPropTypes<typeof componentProps>;
|
|
5
|
+
export interface QueryApiPayload {
|
|
6
|
+
pageField?: string;
|
|
7
|
+
pageSizeField?: string;
|
|
8
|
+
default?: string;
|
|
9
|
+
records?: string;
|
|
10
|
+
total?: string;
|
|
11
|
+
}
|
|
5
12
|
export interface ExtConfig {
|
|
6
|
-
|
|
13
|
+
dict?: Dict;
|
|
14
|
+
queryApiPayload?: QueryApiPayload;
|
|
7
15
|
crud?: {
|
|
8
16
|
pageHeight?: string;
|
|
9
17
|
modalHeight?: string;
|
|
@@ -8,18 +8,14 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
8
8
|
type: import('vue').PropType<Record<string, any>>;
|
|
9
9
|
required: boolean;
|
|
10
10
|
};
|
|
11
|
+
dict: {
|
|
12
|
+
type: import('vue').PropType<import('../../types').Dict>;
|
|
13
|
+
default: () => {};
|
|
14
|
+
};
|
|
11
15
|
useRender: {
|
|
12
16
|
type: import('vue').PropType<boolean | RenderConfig>;
|
|
13
17
|
default: boolean;
|
|
14
18
|
};
|
|
15
|
-
dictMap: {
|
|
16
|
-
type: import('vue').PropType<import('../../types').DictMap>;
|
|
17
|
-
default: () => {};
|
|
18
|
-
};
|
|
19
|
-
dictProps: {
|
|
20
|
-
type: import('vue').PropType<import('../../types').DictProps>;
|
|
21
|
-
default: () => {};
|
|
22
|
-
};
|
|
23
19
|
column: {
|
|
24
20
|
type: NumberConstructor;
|
|
25
21
|
default: number;
|
|
@@ -55,18 +51,14 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
55
51
|
type: import('vue').PropType<Record<string, any>>;
|
|
56
52
|
required: boolean;
|
|
57
53
|
};
|
|
54
|
+
dict: {
|
|
55
|
+
type: import('vue').PropType<import('../../types').Dict>;
|
|
56
|
+
default: () => {};
|
|
57
|
+
};
|
|
58
58
|
useRender: {
|
|
59
59
|
type: import('vue').PropType<boolean | RenderConfig>;
|
|
60
60
|
default: boolean;
|
|
61
61
|
};
|
|
62
|
-
dictMap: {
|
|
63
|
-
type: import('vue').PropType<import('../../types').DictMap>;
|
|
64
|
-
default: () => {};
|
|
65
|
-
};
|
|
66
|
-
dictProps: {
|
|
67
|
-
type: import('vue').PropType<import('../../types').DictProps>;
|
|
68
|
-
default: () => {};
|
|
69
|
-
};
|
|
70
62
|
column: {
|
|
71
63
|
type: NumberConstructor;
|
|
72
64
|
default: number;
|
|
@@ -94,9 +86,8 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
94
86
|
}>> & Readonly<{
|
|
95
87
|
onOnDictKeys?: ((value?: string[] | undefined) => any) | undefined;
|
|
96
88
|
}>, {
|
|
89
|
+
dict: import('../../types').Dict;
|
|
97
90
|
useRender: boolean | RenderConfig;
|
|
98
|
-
dictMap: import('../../types').DictMap;
|
|
99
|
-
dictProps: import('../../types').DictProps;
|
|
100
91
|
labelWidth: string | number;
|
|
101
92
|
column: number;
|
|
102
93
|
border: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { ConfigColumn } from './types';
|
|
3
|
-
import {
|
|
3
|
+
import { Dict, RenderConfig } from '../../types';
|
|
4
4
|
declare const _default: {
|
|
5
5
|
configs: {
|
|
6
6
|
type: PropType<ConfigColumn[]>;
|
|
@@ -10,18 +10,14 @@ declare const _default: {
|
|
|
10
10
|
type: PropType<Record<string, any>>;
|
|
11
11
|
required: boolean;
|
|
12
12
|
};
|
|
13
|
+
dict: {
|
|
14
|
+
type: PropType<Dict>;
|
|
15
|
+
default: () => {};
|
|
16
|
+
};
|
|
13
17
|
useRender: {
|
|
14
18
|
type: PropType<boolean | RenderConfig>;
|
|
15
19
|
default: boolean;
|
|
16
20
|
};
|
|
17
|
-
dictMap: {
|
|
18
|
-
type: PropType<DictMap>;
|
|
19
|
-
default: () => {};
|
|
20
|
-
};
|
|
21
|
-
dictProps: {
|
|
22
|
-
type: PropType<DictProps>;
|
|
23
|
-
default: () => {};
|
|
24
|
-
};
|
|
25
21
|
column: {
|
|
26
22
|
type: NumberConstructor;
|
|
27
23
|
default: number;
|
|
@@ -7,18 +7,14 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
7
7
|
type: import('vue').PropType<Record<string, any>>;
|
|
8
8
|
required: boolean;
|
|
9
9
|
};
|
|
10
|
+
dict: {
|
|
11
|
+
type: import('vue').PropType<import('../../../types').Dict>;
|
|
12
|
+
default: () => {};
|
|
13
|
+
};
|
|
10
14
|
useRender: {
|
|
11
15
|
type: import('vue').PropType<boolean | import('../../../types').RenderConfig>;
|
|
12
16
|
default: boolean;
|
|
13
17
|
};
|
|
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
18
|
formItemWidth: {
|
|
23
19
|
type: StringConstructor;
|
|
24
20
|
default: string;
|
|
@@ -65,18 +61,14 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
65
61
|
type: import('vue').PropType<Record<string, any>>;
|
|
66
62
|
required: boolean;
|
|
67
63
|
};
|
|
64
|
+
dict: {
|
|
65
|
+
type: import('vue').PropType<import('../../../types').Dict>;
|
|
66
|
+
default: () => {};
|
|
67
|
+
};
|
|
68
68
|
useRender: {
|
|
69
69
|
type: import('vue').PropType<boolean | import('../../../types').RenderConfig>;
|
|
70
70
|
default: boolean;
|
|
71
71
|
};
|
|
72
|
-
dictMap: {
|
|
73
|
-
type: import('vue').PropType<import('../../../types').DictMap>;
|
|
74
|
-
default: () => {};
|
|
75
|
-
};
|
|
76
|
-
dictProps: {
|
|
77
|
-
type: import('vue').PropType<import('../../../types').DictProps>;
|
|
78
|
-
default: () => {};
|
|
79
|
-
};
|
|
80
72
|
formItemWidth: {
|
|
81
73
|
type: StringConstructor;
|
|
82
74
|
default: string;
|
|
@@ -112,9 +104,8 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
112
104
|
default: () => {};
|
|
113
105
|
};
|
|
114
106
|
}>> & Readonly<{}>, {
|
|
107
|
+
dict: import('../../../types').Dict;
|
|
115
108
|
useRender: boolean | import('../../../types').RenderConfig;
|
|
116
|
-
dictMap: import('../../../types').DictMap;
|
|
117
|
-
dictProps: import('../../../types').DictProps;
|
|
118
109
|
formItemWidth: string;
|
|
119
110
|
labelSuffix: string;
|
|
120
111
|
labelWidth: string;
|
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
formColumns: {
|
|
3
|
-
type: import('vue').PropType<import('../types').FormColumn[]>;
|
|
3
|
+
type: import('vue').PropType<import('../types.ts').FormColumn[]>;
|
|
4
4
|
required: boolean;
|
|
5
5
|
};
|
|
6
6
|
formModel: {
|
|
7
7
|
type: import('vue').PropType<Record<string, any>>;
|
|
8
8
|
required: boolean;
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
type: import('vue').PropType<
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
|
-
dictMap: {
|
|
15
|
-
type: import('vue').PropType<import('../../../types').DictMap>;
|
|
10
|
+
dict: {
|
|
11
|
+
type: import('vue').PropType<import('../../../types/index.ts').Dict>;
|
|
16
12
|
default: () => {};
|
|
17
13
|
};
|
|
18
|
-
|
|
19
|
-
type: import('vue').PropType<import('../../../types').
|
|
20
|
-
default:
|
|
14
|
+
useRender: {
|
|
15
|
+
type: import('vue').PropType<boolean | import('../../../types/index.ts').RenderConfig>;
|
|
16
|
+
default: boolean;
|
|
21
17
|
};
|
|
22
18
|
formItemWidth: {
|
|
23
19
|
type: StringConstructor;
|
|
@@ -50,31 +46,29 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
50
46
|
default: boolean;
|
|
51
47
|
};
|
|
52
48
|
queryConfig: {
|
|
53
|
-
type: import('vue').PropType<import('../types').QueryConfig>;
|
|
49
|
+
type: import('vue').PropType<import('../types.ts').QueryConfig>;
|
|
54
50
|
default: () => {};
|
|
55
51
|
};
|
|
56
52
|
}>, {
|
|
57
53
|
efRef: import('vue').Ref<null, null>;
|
|
58
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}
|
|
54
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
55
|
+
onDictKeys: (value?: string[] | undefined) => any;
|
|
56
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
59
57
|
formColumns: {
|
|
60
|
-
type: import('vue').PropType<import('../types').FormColumn[]>;
|
|
58
|
+
type: import('vue').PropType<import('../types.ts').FormColumn[]>;
|
|
61
59
|
required: boolean;
|
|
62
60
|
};
|
|
63
61
|
formModel: {
|
|
64
62
|
type: import('vue').PropType<Record<string, any>>;
|
|
65
63
|
required: boolean;
|
|
66
64
|
};
|
|
67
|
-
|
|
68
|
-
type: import('vue').PropType<
|
|
69
|
-
default: boolean;
|
|
70
|
-
};
|
|
71
|
-
dictMap: {
|
|
72
|
-
type: import('vue').PropType<import('../../../types').DictMap>;
|
|
65
|
+
dict: {
|
|
66
|
+
type: import('vue').PropType<import('../../../types/index.ts').Dict>;
|
|
73
67
|
default: () => {};
|
|
74
68
|
};
|
|
75
|
-
|
|
76
|
-
type: import('vue').PropType<import('../../../types').
|
|
77
|
-
default:
|
|
69
|
+
useRender: {
|
|
70
|
+
type: import('vue').PropType<boolean | import('../../../types/index.ts').RenderConfig>;
|
|
71
|
+
default: boolean;
|
|
78
72
|
};
|
|
79
73
|
formItemWidth: {
|
|
80
74
|
type: StringConstructor;
|
|
@@ -107,13 +101,14 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
107
101
|
default: boolean;
|
|
108
102
|
};
|
|
109
103
|
queryConfig: {
|
|
110
|
-
type: import('vue').PropType<import('../types').QueryConfig>;
|
|
104
|
+
type: import('vue').PropType<import('../types.ts').QueryConfig>;
|
|
111
105
|
default: () => {};
|
|
112
106
|
};
|
|
113
|
-
}>> & Readonly<{
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
107
|
+
}>> & Readonly<{
|
|
108
|
+
onOnDictKeys?: ((value?: string[] | undefined) => any) | undefined;
|
|
109
|
+
}>, {
|
|
110
|
+
dict: import('../../../types/index.ts').Dict;
|
|
111
|
+
useRender: boolean | import('../../../types/index.ts').RenderConfig;
|
|
117
112
|
formItemWidth: string;
|
|
118
113
|
labelSuffix: string;
|
|
119
114
|
labelWidth: string;
|
|
@@ -121,7 +116,7 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
121
116
|
rowGutter: number;
|
|
122
117
|
colSpan: number;
|
|
123
118
|
disabled: boolean;
|
|
124
|
-
queryConfig: import('../types').QueryConfig;
|
|
119
|
+
queryConfig: import('../types.ts').QueryConfig;
|
|
125
120
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
126
121
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
127
122
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FormColumn } from '../../types';
|
|
2
|
-
import {
|
|
2
|
+
import { Dict, GlobalConfig } from '../../../../types';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
item: FormColumn;
|
|
5
5
|
formModel: Record<string, any>;
|
|
6
6
|
globalConfig: GlobalConfig;
|
|
7
|
-
|
|
7
|
+
dict: Dict;
|
|
8
8
|
formItemWidth: string;
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FormColumn } from '../../types';
|
|
2
|
-
import {
|
|
2
|
+
import { Dict, GlobalConfig } from '../../../../types';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
item: FormColumn;
|
|
5
5
|
formModel: Record<string, any>;
|
|
6
6
|
globalConfig: GlobalConfig;
|
|
7
|
-
|
|
7
|
+
dict: Dict;
|
|
8
8
|
};
|
|
9
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
10
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FormColumn } from '../../types';
|
|
2
|
-
import {
|
|
2
|
+
import { Dict, GlobalConfig } from '../../../../types';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
modelValue: string | number | boolean | string[] | number[] | undefined;
|
|
5
5
|
item: FormColumn;
|
|
6
6
|
globalConfig: GlobalConfig;
|
|
7
|
-
|
|
7
|
+
dict: Dict;
|
|
8
8
|
formItemWidth: string;
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FormColumn } from '../../types';
|
|
2
|
-
import {
|
|
2
|
+
import { Dict, GlobalConfig } from '../../../../types';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
item: FormColumn;
|
|
5
5
|
formModel: Record<string, any>;
|
|
6
6
|
globalConfig: GlobalConfig;
|
|
7
|
-
|
|
7
|
+
dict: Dict;
|
|
8
8
|
formItemWidth: string;
|
|
9
9
|
};
|
|
10
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>;
|
|
@@ -7,18 +7,14 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
7
7
|
type: import('vue').PropType<Record<string, any>>;
|
|
8
8
|
required: boolean;
|
|
9
9
|
};
|
|
10
|
+
dict: {
|
|
11
|
+
type: import('vue').PropType<import('../../types/index.ts').Dict>;
|
|
12
|
+
default: () => {};
|
|
13
|
+
};
|
|
10
14
|
useRender: {
|
|
11
15
|
type: import('vue').PropType<boolean | import('../../types/index.ts').RenderConfig>;
|
|
12
16
|
default: boolean;
|
|
13
17
|
};
|
|
14
|
-
dictMap: {
|
|
15
|
-
type: import('vue').PropType<import('../../types/index.ts').DictMap>;
|
|
16
|
-
default: () => {};
|
|
17
|
-
};
|
|
18
|
-
dictProps: {
|
|
19
|
-
type: import('vue').PropType<import('../../types/index.ts').DictProps>;
|
|
20
|
-
default: () => {};
|
|
21
|
-
};
|
|
22
18
|
formItemWidth: {
|
|
23
19
|
type: StringConstructor;
|
|
24
20
|
default: string;
|
|
@@ -72,18 +68,14 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
72
68
|
type: import('vue').PropType<Record<string, any>>;
|
|
73
69
|
required: boolean;
|
|
74
70
|
};
|
|
71
|
+
dict: {
|
|
72
|
+
type: import('vue').PropType<import('../../types/index.ts').Dict>;
|
|
73
|
+
default: () => {};
|
|
74
|
+
};
|
|
75
75
|
useRender: {
|
|
76
76
|
type: import('vue').PropType<boolean | import('../../types/index.ts').RenderConfig>;
|
|
77
77
|
default: boolean;
|
|
78
78
|
};
|
|
79
|
-
dictMap: {
|
|
80
|
-
type: import('vue').PropType<import('../../types/index.ts').DictMap>;
|
|
81
|
-
default: () => {};
|
|
82
|
-
};
|
|
83
|
-
dictProps: {
|
|
84
|
-
type: import('vue').PropType<import('../../types/index.ts').DictProps>;
|
|
85
|
-
default: () => {};
|
|
86
|
-
};
|
|
87
79
|
formItemWidth: {
|
|
88
80
|
type: StringConstructor;
|
|
89
81
|
default: string;
|
|
@@ -121,9 +113,8 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
121
113
|
}>> & Readonly<{
|
|
122
114
|
onOnDictKeys?: ((value?: string[] | undefined) => any) | undefined;
|
|
123
115
|
}>, {
|
|
116
|
+
dict: import('../../types/index.ts').Dict;
|
|
124
117
|
useRender: boolean | import('../../types/index.ts').RenderConfig;
|
|
125
|
-
dictMap: import('../../types/index.ts').DictMap;
|
|
126
|
-
dictProps: import('../../types/index.ts').DictProps;
|
|
127
118
|
formItemWidth: string;
|
|
128
119
|
labelSuffix: string;
|
|
129
120
|
labelWidth: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { FormColumn, QueryConfig } from './types';
|
|
3
|
-
import {
|
|
3
|
+
import { Dict, RenderConfig } from '../../types';
|
|
4
4
|
declare const _default: {
|
|
5
5
|
formColumns: {
|
|
6
6
|
type: PropType<FormColumn[]>;
|
|
@@ -10,18 +10,14 @@ declare const _default: {
|
|
|
10
10
|
type: PropType<Record<string, any>>;
|
|
11
11
|
required: boolean;
|
|
12
12
|
};
|
|
13
|
+
dict: {
|
|
14
|
+
type: PropType<Dict>;
|
|
15
|
+
default: () => {};
|
|
16
|
+
};
|
|
13
17
|
useRender: {
|
|
14
18
|
type: PropType<boolean | RenderConfig>;
|
|
15
19
|
default: boolean;
|
|
16
20
|
};
|
|
17
|
-
dictMap: {
|
|
18
|
-
type: PropType<DictMap>;
|
|
19
|
-
default: () => {};
|
|
20
|
-
};
|
|
21
|
-
dictProps: {
|
|
22
|
-
type: PropType<DictProps>;
|
|
23
|
-
default: () => {};
|
|
24
|
-
};
|
|
25
21
|
formItemWidth: {
|
|
26
22
|
type: StringConstructor;
|
|
27
23
|
default: string;
|
|
@@ -7,8 +7,8 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
|
|
|
7
7
|
type: import('vue').PropType<Record<string, any>[]>;
|
|
8
8
|
default: () => never[];
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
type: import('vue').PropType<import('../../types').
|
|
10
|
+
dict: {
|
|
11
|
+
type: import('vue').PropType<import('../../types').Dict>;
|
|
12
12
|
default: () => {};
|
|
13
13
|
};
|
|
14
14
|
useRender: {
|
|
@@ -47,8 +47,8 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
|
|
|
47
47
|
type: import('vue').PropType<Record<string, any>[]>;
|
|
48
48
|
default: () => never[];
|
|
49
49
|
};
|
|
50
|
-
|
|
51
|
-
type: import('vue').PropType<import('../../types').
|
|
50
|
+
dict: {
|
|
51
|
+
type: import('vue').PropType<import('../../types').Dict>;
|
|
52
52
|
default: () => {};
|
|
53
53
|
};
|
|
54
54
|
useRender: {
|
|
@@ -79,8 +79,8 @@ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractP
|
|
|
79
79
|
"onUpdate:modelValue"?: ((value: string | number | (string | number)[]) => any) | undefined;
|
|
80
80
|
"onUpdate:label"?: ((label: string | string[]) => any) | undefined;
|
|
81
81
|
}>, {
|
|
82
|
+
dict: import('../../types').Dict;
|
|
82
83
|
useRender: boolean | import('../../types').RenderConfig;
|
|
83
|
-
dictProps: import('../../types').DictProps;
|
|
84
84
|
clearable: boolean;
|
|
85
85
|
placeholder: string;
|
|
86
86
|
width: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { Dict, RenderConfig } from '../../types';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
modelValue: {
|
|
5
5
|
type: (ArrayConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
@@ -9,8 +9,8 @@ declare const _default: {
|
|
|
9
9
|
type: PropType<Record<string, any>[]>;
|
|
10
10
|
default: () => never[];
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
type: PropType<
|
|
12
|
+
dict: {
|
|
13
|
+
type: PropType<Dict>;
|
|
14
14
|
default: () => {};
|
|
15
15
|
};
|
|
16
16
|
useRender: {
|
|
@@ -16,12 +16,8 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
16
16
|
default: string;
|
|
17
17
|
validator: (val: string) => boolean;
|
|
18
18
|
};
|
|
19
|
-
|
|
20
|
-
type: import('vue').PropType<import('../../types').
|
|
21
|
-
default: () => {};
|
|
22
|
-
};
|
|
23
|
-
dictProps: {
|
|
24
|
-
type: import('vue').PropType<import('../../types').DictProps>;
|
|
19
|
+
dict: {
|
|
20
|
+
type: import('vue').PropType<import('../../types').Dict>;
|
|
25
21
|
default: () => {};
|
|
26
22
|
};
|
|
27
23
|
currentPage: {
|
|
@@ -74,12 +70,8 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
74
70
|
default: string;
|
|
75
71
|
validator: (val: string) => boolean;
|
|
76
72
|
};
|
|
77
|
-
|
|
78
|
-
type: import('vue').PropType<import('../../types').
|
|
79
|
-
default: () => {};
|
|
80
|
-
};
|
|
81
|
-
dictProps: {
|
|
82
|
-
type: import('vue').PropType<import('../../types').DictProps>;
|
|
73
|
+
dict: {
|
|
74
|
+
type: import('vue').PropType<import('../../types').Dict>;
|
|
83
75
|
default: () => {};
|
|
84
76
|
};
|
|
85
77
|
currentPage: {
|
|
@@ -112,15 +104,14 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
112
104
|
"onUpdate:currentPage"?: ((currentPage: number) => any) | undefined;
|
|
113
105
|
"onUpdate:pageSize"?: ((pageSize: number) => any) | undefined;
|
|
114
106
|
}>, {
|
|
115
|
-
|
|
116
|
-
|
|
107
|
+
dict: import('../../types').Dict;
|
|
108
|
+
extConfig: import('./types').ExtConfig;
|
|
117
109
|
tableLoading: boolean;
|
|
118
110
|
tableColumnAlign: string;
|
|
119
111
|
currentPage: number;
|
|
120
112
|
pageSize: number;
|
|
121
113
|
showOverflowTooltip: boolean;
|
|
122
114
|
headerCellStyle: Record<string, string>;
|
|
123
|
-
extConfig: import('./types').ExtConfig;
|
|
124
115
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
125
116
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
126
117
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { ExtConfig, TableColumn } from './types';
|
|
3
|
-
import {
|
|
3
|
+
import { Dict } from '../../types';
|
|
4
4
|
declare const _default: {
|
|
5
5
|
tableColumns: {
|
|
6
6
|
type: PropType<TableColumn[]>;
|
|
@@ -19,12 +19,8 @@ declare const _default: {
|
|
|
19
19
|
default: string;
|
|
20
20
|
validator: (val: string) => boolean;
|
|
21
21
|
};
|
|
22
|
-
|
|
23
|
-
type: PropType<
|
|
24
|
-
default: () => {};
|
|
25
|
-
};
|
|
26
|
-
dictProps: {
|
|
27
|
-
type: PropType<DictProps>;
|
|
22
|
+
dict: {
|
|
23
|
+
type: PropType<Dict>;
|
|
28
24
|
default: () => {};
|
|
29
25
|
};
|
|
30
26
|
currentPage: {
|