tutor-pro-ui-vue 1.2.44-beta → 1.2.48-beta
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.css +1 -1
- package/dist/index.css.gz +0 -0
- package/dist/index.js +25277 -24871
- package/dist/index.js.gz +0 -0
- package/dist/index.umd.cjs +44 -52
- package/dist/src/components/CommonCheckbox/src/index.vue.d.ts +2 -2
- package/dist/src/components/CommonCheckbox/src/types.d.ts +1 -1
- package/dist/src/components/CommonCheckboxGroup/src/index.vue.d.ts +48 -20
- package/dist/src/components/CommonCheckboxGroup/src/types.d.ts +23 -9
- package/dist/src/components/CommonDatePicker/src/index.vue.d.ts +268 -58
- package/dist/src/components/CommonDatePicker/src/types.d.ts +129 -24
- package/dist/src/components/CommonDescriptions/src/index.vue.d.ts +84 -14
- package/dist/src/components/CommonDescriptions/src/types.d.ts +41 -6
- package/dist/src/components/CommonForm/fields/Cascader.vue.d.ts +8 -1
- package/dist/src/components/CommonForm/hooks.d.ts +1 -0
- package/dist/src/components/CommonForm/src/hooks.d.ts +3 -368
- package/dist/src/components/CommonForm/src/index.vue.d.ts +107 -23
- package/dist/src/components/CommonForm/types.d.ts +55 -10
- package/dist/src/components/CommonRadio/src/index.vue.d.ts +19 -5
- package/dist/src/components/CommonRadio/src/types.d.ts +9 -2
- package/dist/src/components/CommonRadioButton/src/index.vue.d.ts +19 -5
- package/dist/src/components/CommonRadioButton/src/types.d.ts +9 -2
- package/dist/src/components/CommonRadioGroup/src/index.vue.d.ts +184 -37
- package/dist/src/components/CommonRadioGroup/src/types.d.ts +87 -17
- package/dist/src/components/CommonTable/src/function.d.ts +2 -1
- package/dist/src/components/CommonTable/src/hooks.d.ts +10 -10
- package/dist/src/components/CommonTable/src/index.vue.d.ts +116 -34
- package/dist/src/components/CommonTable/src/types.d.ts +1 -2
- package/dist/src/components/CommonTabs/src/index.vue.d.ts +53 -27
- package/dist/src/components/CommonTabs/src/types.d.ts +25 -12
- package/package.json +2 -2
|
@@ -30,12 +30,19 @@ export declare const commonRadioGroupProps: {
|
|
|
30
30
|
};
|
|
31
31
|
border: BooleanConstructor;
|
|
32
32
|
size: {
|
|
33
|
-
readonly type:
|
|
33
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
34
34
|
readonly required: false;
|
|
35
35
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
36
|
__epPropKey: true;
|
|
37
37
|
};
|
|
38
|
-
value:
|
|
38
|
+
value: {
|
|
39
|
+
readonly type: PropType<string | number | boolean>;
|
|
40
|
+
readonly required: false;
|
|
41
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
42
|
+
__epPropKey: true;
|
|
43
|
+
} & {
|
|
44
|
+
readonly default: undefined;
|
|
45
|
+
};
|
|
39
46
|
}>>[];
|
|
40
47
|
(...items: Partial<ExtractPropTypes<{
|
|
41
48
|
name: {
|
|
@@ -56,12 +63,19 @@ export declare const commonRadioGroupProps: {
|
|
|
56
63
|
};
|
|
57
64
|
border: BooleanConstructor;
|
|
58
65
|
size: {
|
|
59
|
-
readonly type:
|
|
66
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
67
|
+
readonly required: false;
|
|
68
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
69
|
+
__epPropKey: true;
|
|
70
|
+
};
|
|
71
|
+
value: {
|
|
72
|
+
readonly type: PropType<string | number | boolean>;
|
|
60
73
|
readonly required: false;
|
|
61
74
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
62
75
|
__epPropKey: true;
|
|
76
|
+
} & {
|
|
77
|
+
readonly default: undefined;
|
|
63
78
|
};
|
|
64
|
-
value: import('element-plus/es/utils').EpPropFinalized<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown, undefined, boolean>;
|
|
65
79
|
}>>[]): Partial<ExtractPropTypes<{
|
|
66
80
|
name: {
|
|
67
81
|
default: string;
|
|
@@ -81,12 +95,19 @@ export declare const commonRadioGroupProps: {
|
|
|
81
95
|
};
|
|
82
96
|
border: BooleanConstructor;
|
|
83
97
|
size: {
|
|
84
|
-
readonly type:
|
|
98
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
99
|
+
readonly required: false;
|
|
100
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
101
|
+
__epPropKey: true;
|
|
102
|
+
};
|
|
103
|
+
value: {
|
|
104
|
+
readonly type: PropType<string | number | boolean>;
|
|
85
105
|
readonly required: false;
|
|
86
106
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
87
107
|
__epPropKey: true;
|
|
108
|
+
} & {
|
|
109
|
+
readonly default: undefined;
|
|
88
110
|
};
|
|
89
|
-
value: import('element-plus/es/utils').EpPropFinalized<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown, undefined, boolean>;
|
|
90
111
|
}>>[];
|
|
91
112
|
new (arrayLength: number): Partial<ExtractPropTypes<{
|
|
92
113
|
name: {
|
|
@@ -107,12 +128,19 @@ export declare const commonRadioGroupProps: {
|
|
|
107
128
|
};
|
|
108
129
|
border: BooleanConstructor;
|
|
109
130
|
size: {
|
|
110
|
-
readonly type:
|
|
131
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
132
|
+
readonly required: false;
|
|
133
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
134
|
+
__epPropKey: true;
|
|
135
|
+
};
|
|
136
|
+
value: {
|
|
137
|
+
readonly type: PropType<string | number | boolean>;
|
|
111
138
|
readonly required: false;
|
|
112
139
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
113
140
|
__epPropKey: true;
|
|
141
|
+
} & {
|
|
142
|
+
readonly default: undefined;
|
|
114
143
|
};
|
|
115
|
-
value: import('element-plus/es/utils').EpPropFinalized<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown, undefined, boolean>;
|
|
116
144
|
}>>[];
|
|
117
145
|
new (...items: Partial<ExtractPropTypes<{
|
|
118
146
|
name: {
|
|
@@ -133,12 +161,19 @@ export declare const commonRadioGroupProps: {
|
|
|
133
161
|
};
|
|
134
162
|
border: BooleanConstructor;
|
|
135
163
|
size: {
|
|
136
|
-
readonly type:
|
|
164
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
165
|
+
readonly required: false;
|
|
166
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
167
|
+
__epPropKey: true;
|
|
168
|
+
};
|
|
169
|
+
value: {
|
|
170
|
+
readonly type: PropType<string | number | boolean>;
|
|
137
171
|
readonly required: false;
|
|
138
172
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
139
173
|
__epPropKey: true;
|
|
174
|
+
} & {
|
|
175
|
+
readonly default: undefined;
|
|
140
176
|
};
|
|
141
|
-
value: import('element-plus/es/utils').EpPropFinalized<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown, undefined, boolean>;
|
|
142
177
|
}>>[]): Partial<ExtractPropTypes<{
|
|
143
178
|
name: {
|
|
144
179
|
default: string;
|
|
@@ -158,12 +193,19 @@ export declare const commonRadioGroupProps: {
|
|
|
158
193
|
};
|
|
159
194
|
border: BooleanConstructor;
|
|
160
195
|
size: {
|
|
161
|
-
readonly type:
|
|
196
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
162
197
|
readonly required: false;
|
|
163
198
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
164
199
|
__epPropKey: true;
|
|
165
200
|
};
|
|
166
|
-
value:
|
|
201
|
+
value: {
|
|
202
|
+
readonly type: PropType<string | number | boolean>;
|
|
203
|
+
readonly required: false;
|
|
204
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
205
|
+
__epPropKey: true;
|
|
206
|
+
} & {
|
|
207
|
+
readonly default: undefined;
|
|
208
|
+
};
|
|
167
209
|
}>>[];
|
|
168
210
|
isArray(arg: any): arg is any[];
|
|
169
211
|
readonly prototype: any[];
|
|
@@ -186,15 +228,43 @@ export declare const commonRadioGroupProps: {
|
|
|
186
228
|
type: BooleanConstructor;
|
|
187
229
|
};
|
|
188
230
|
ariaLabel: StringConstructor;
|
|
189
|
-
id:
|
|
231
|
+
id: {
|
|
232
|
+
readonly type: PropType<string>;
|
|
233
|
+
readonly required: false;
|
|
234
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
235
|
+
__epPropKey: true;
|
|
236
|
+
} & {
|
|
237
|
+
readonly default: undefined;
|
|
238
|
+
};
|
|
190
239
|
size: {
|
|
191
|
-
readonly type:
|
|
240
|
+
readonly type: PropType<"" | "default" | "small" | "large">;
|
|
241
|
+
readonly required: false;
|
|
242
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
243
|
+
__epPropKey: true;
|
|
244
|
+
};
|
|
245
|
+
fill: {
|
|
246
|
+
readonly type: PropType<string>;
|
|
247
|
+
readonly required: false;
|
|
248
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
249
|
+
__epPropKey: true;
|
|
250
|
+
} & {
|
|
251
|
+
readonly default: "";
|
|
252
|
+
};
|
|
253
|
+
textColor: {
|
|
254
|
+
readonly type: PropType<string>;
|
|
255
|
+
readonly required: false;
|
|
256
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
257
|
+
__epPropKey: true;
|
|
258
|
+
} & {
|
|
259
|
+
readonly default: "";
|
|
260
|
+
};
|
|
261
|
+
validateEvent: {
|
|
262
|
+
readonly type: PropType<boolean>;
|
|
192
263
|
readonly required: false;
|
|
193
264
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
194
265
|
__epPropKey: true;
|
|
266
|
+
} & {
|
|
267
|
+
readonly default: true;
|
|
195
268
|
};
|
|
196
|
-
fill: import('element-plus/es/utils').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
197
|
-
textColor: import('element-plus/es/utils').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
198
|
-
validateEvent: import('element-plus/es/utils').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
199
269
|
};
|
|
200
270
|
export type CommonRadioGroupProps = Partial<ExtractPropTypes<typeof commonRadioGroupProps>>;
|
|
@@ -15,7 +15,8 @@ export declare const renderColumns: (columns: CommonTableColumn<any>[], showOver
|
|
|
15
15
|
export declare const computedIndex: (data?: any[], index?: number) => number;
|
|
16
16
|
/**
|
|
17
17
|
* 处理树形结构数据,
|
|
18
|
+
* 二次处理,如果是展开状态就需要赋值
|
|
18
19
|
*/
|
|
19
|
-
export declare const handleTreeData: (data: any[], isTree
|
|
20
|
+
export declare const handleTreeData: (data: any[], isTree: boolean | undefined, preData: any[]) => any[];
|
|
20
21
|
export declare const findTreeNodeById: (treeData?: any[], id?: number) => any | undefined;
|
|
21
22
|
export declare const getTreeData: (parentData?: any[], id?: number, index?: number) => any[];
|
|
@@ -15,7 +15,7 @@ export declare const useInitTable: (props: CommonTableProps, table?: Ref<TableIn
|
|
|
15
15
|
disabled?: boolean | undefined;
|
|
16
16
|
small?: boolean | undefined;
|
|
17
17
|
popperClass?: string | undefined;
|
|
18
|
-
teleported?:
|
|
18
|
+
teleported?: boolean | undefined;
|
|
19
19
|
pagerCount?: number | undefined;
|
|
20
20
|
layout?: string | undefined;
|
|
21
21
|
pageSizes?: number[] | undefined;
|
|
@@ -23,7 +23,7 @@ export declare const useInitTable: (props: CommonTableProps, table?: Ref<TableIn
|
|
|
23
23
|
nextText?: string | undefined;
|
|
24
24
|
background?: boolean | undefined;
|
|
25
25
|
hideOnSinglePage?: boolean | undefined;
|
|
26
|
-
size?:
|
|
26
|
+
size?: ("" | "default" | "small" | "large") | undefined;
|
|
27
27
|
pageSize: number;
|
|
28
28
|
defaultPageSize?: number | undefined;
|
|
29
29
|
total: number;
|
|
@@ -281,7 +281,7 @@ export declare const useInitTable: (props: CommonTableProps, table?: Ref<TableIn
|
|
|
281
281
|
disabled?: boolean | undefined;
|
|
282
282
|
small?: boolean | undefined;
|
|
283
283
|
popperClass?: string | undefined;
|
|
284
|
-
teleported?:
|
|
284
|
+
teleported?: boolean | undefined;
|
|
285
285
|
pagerCount?: number | undefined;
|
|
286
286
|
layout?: string | undefined;
|
|
287
287
|
pageSizes?: number[] | undefined;
|
|
@@ -289,15 +289,15 @@ export declare const useInitTable: (props: CommonTableProps, table?: Ref<TableIn
|
|
|
289
289
|
nextText?: string | undefined;
|
|
290
290
|
background?: boolean | undefined;
|
|
291
291
|
hideOnSinglePage?: boolean | undefined;
|
|
292
|
-
size?:
|
|
292
|
+
size?: ("" | "default" | "small" | "large") | undefined;
|
|
293
293
|
pageSize: number;
|
|
294
294
|
defaultPageSize?: number | undefined;
|
|
295
295
|
total: number;
|
|
296
296
|
pageCount?: number | undefined;
|
|
297
297
|
currentPage: number;
|
|
298
298
|
defaultCurrentPage?: number | undefined;
|
|
299
|
-
prevIcon?:
|
|
300
|
-
nextIcon?:
|
|
299
|
+
prevIcon?: (string | import('vue').Component) | undefined;
|
|
300
|
+
nextIcon?: (string | import('vue').Component) | undefined;
|
|
301
301
|
appendSizeTo?: string | undefined;
|
|
302
302
|
pageSizeName?: string;
|
|
303
303
|
currentPageName?: string;
|
|
@@ -305,7 +305,7 @@ export declare const useInitTable: (props: CommonTableProps, table?: Ref<TableIn
|
|
|
305
305
|
disabled?: boolean | undefined;
|
|
306
306
|
small?: boolean | undefined;
|
|
307
307
|
popperClass?: string | undefined;
|
|
308
|
-
teleported?:
|
|
308
|
+
teleported?: boolean | undefined;
|
|
309
309
|
pagerCount?: number | undefined;
|
|
310
310
|
layout?: string | undefined;
|
|
311
311
|
pageSizes?: number[] | undefined;
|
|
@@ -313,7 +313,7 @@ export declare const useInitTable: (props: CommonTableProps, table?: Ref<TableIn
|
|
|
313
313
|
nextText?: string | undefined;
|
|
314
314
|
background?: boolean | undefined;
|
|
315
315
|
hideOnSinglePage?: boolean | undefined;
|
|
316
|
-
size?:
|
|
316
|
+
size?: ("" | "default" | "small" | "large") | undefined;
|
|
317
317
|
pageSize: number;
|
|
318
318
|
defaultPageSize?: number | undefined;
|
|
319
319
|
total: number;
|
|
@@ -598,11 +598,11 @@ export declare const useTableSelection: (props: CommonTableProps, tableData: Ref
|
|
|
598
598
|
* 右边的按钮
|
|
599
599
|
* @param props
|
|
600
600
|
*/
|
|
601
|
-
export declare const useRightBtns: (props: CommonTableProps, onSearch?: () => void, onReset?: () => void
|
|
601
|
+
export declare const useRightBtns: (props: CommonTableProps, onSearch?: () => void, onReset?: () => void) => {
|
|
602
602
|
innerRightBtns: import('vue').ComputedRef<GroupBtn[]>;
|
|
603
603
|
isToggle: Ref<boolean, boolean>;
|
|
604
604
|
isShowToggleBtn: Ref<boolean, boolean>;
|
|
605
|
-
|
|
605
|
+
commonFormContainerRef: Ref<any, any>;
|
|
606
606
|
};
|
|
607
607
|
/**
|
|
608
608
|
* tree-props时,点击整行展开
|
|
@@ -7,7 +7,7 @@ declare function __VLS_template(): {
|
|
|
7
7
|
expand?(_: any): any;
|
|
8
8
|
};
|
|
9
9
|
refs: {
|
|
10
|
-
commonFormContainerRef:
|
|
10
|
+
commonFormContainerRef: HTMLDivElement;
|
|
11
11
|
commonForm: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
12
12
|
readonly formData: {
|
|
13
13
|
readonly type: import('vue').PropType<import('../../CommonForm').FormData>;
|
|
@@ -31,30 +31,72 @@ declare function __VLS_template(): {
|
|
|
31
31
|
};
|
|
32
32
|
readonly model: ObjectConstructor;
|
|
33
33
|
readonly rules: {
|
|
34
|
-
readonly type: import('vue').PropType<Partial<Record<string, import('element-plus
|
|
34
|
+
readonly type: import('vue').PropType<Partial<Record<string, import('element-plus').FormItemRule | import('element-plus').FormItemRule[]>>>;
|
|
35
35
|
readonly required: false;
|
|
36
36
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
37
37
|
__epPropKey: true;
|
|
38
38
|
};
|
|
39
|
-
readonly labelPosition:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
readonly labelPosition: {
|
|
40
|
+
readonly type: import('vue').PropType<"top" | "right" | "left">;
|
|
41
|
+
readonly required: false;
|
|
42
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
43
|
+
__epPropKey: true;
|
|
44
|
+
} & {
|
|
45
|
+
readonly default: "right";
|
|
46
|
+
};
|
|
47
|
+
readonly requireAsteriskPosition: {
|
|
48
|
+
readonly type: import('vue').PropType<"right" | "left">;
|
|
49
|
+
readonly required: false;
|
|
50
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
|
+
__epPropKey: true;
|
|
52
|
+
} & {
|
|
53
|
+
readonly default: "left";
|
|
54
|
+
};
|
|
55
|
+
readonly labelWidth: {
|
|
56
|
+
readonly type: import('vue').PropType<string | number>;
|
|
57
|
+
readonly required: false;
|
|
58
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
59
|
+
__epPropKey: true;
|
|
60
|
+
} & {
|
|
61
|
+
readonly default: "";
|
|
62
|
+
};
|
|
63
|
+
readonly labelSuffix: {
|
|
64
|
+
readonly type: import('vue').PropType<string>;
|
|
65
|
+
readonly required: false;
|
|
66
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
67
|
+
__epPropKey: true;
|
|
68
|
+
} & {
|
|
69
|
+
readonly default: "";
|
|
70
|
+
};
|
|
43
71
|
readonly inline: BooleanConstructor;
|
|
44
72
|
readonly inlineMessage: BooleanConstructor;
|
|
45
73
|
readonly statusIcon: BooleanConstructor;
|
|
46
|
-
readonly showMessage:
|
|
47
|
-
|
|
74
|
+
readonly showMessage: {
|
|
75
|
+
readonly type: import('vue').PropType<boolean>;
|
|
76
|
+
readonly required: false;
|
|
77
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
78
|
+
__epPropKey: true;
|
|
79
|
+
} & {
|
|
80
|
+
readonly default: true;
|
|
81
|
+
};
|
|
82
|
+
readonly validateOnRuleChange: {
|
|
83
|
+
readonly type: import('vue').PropType<boolean>;
|
|
84
|
+
readonly required: false;
|
|
85
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
86
|
+
__epPropKey: true;
|
|
87
|
+
} & {
|
|
88
|
+
readonly default: true;
|
|
89
|
+
};
|
|
48
90
|
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
49
91
|
readonly scrollToError: BooleanConstructor;
|
|
50
92
|
readonly scrollIntoViewOptions: {
|
|
51
|
-
readonly type: import('vue').PropType<
|
|
93
|
+
readonly type: import('vue').PropType<boolean | Record<string, any>>;
|
|
52
94
|
readonly required: false;
|
|
53
95
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
54
96
|
__epPropKey: true;
|
|
55
97
|
};
|
|
56
98
|
readonly size: {
|
|
57
|
-
readonly type: import('vue').PropType<
|
|
99
|
+
readonly type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
58
100
|
readonly required: false;
|
|
59
101
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
60
102
|
__epPropKey: true;
|
|
@@ -72,18 +114,18 @@ declare function __VLS_template(): {
|
|
|
72
114
|
readonly modelValue: Record<string, any>;
|
|
73
115
|
readonly disabled: boolean;
|
|
74
116
|
readonly inline: boolean;
|
|
75
|
-
readonly labelWidth:
|
|
76
|
-
readonly labelPosition:
|
|
117
|
+
readonly labelWidth: string | number;
|
|
118
|
+
readonly labelPosition: "top" | "right" | "left";
|
|
77
119
|
readonly inlineMessage: boolean;
|
|
78
|
-
readonly showMessage:
|
|
120
|
+
readonly showMessage: boolean;
|
|
79
121
|
readonly formData: import('../../CommonForm').FormData;
|
|
80
122
|
readonly resetValue: Record<string, any>;
|
|
81
123
|
readonly rowConfig: Partial<import('element-plus').RowProps>;
|
|
82
124
|
readonly isSearch: boolean;
|
|
83
|
-
readonly requireAsteriskPosition:
|
|
125
|
+
readonly requireAsteriskPosition: "right" | "left";
|
|
84
126
|
readonly labelSuffix: string;
|
|
85
127
|
readonly statusIcon: boolean;
|
|
86
|
-
readonly validateOnRuleChange:
|
|
128
|
+
readonly validateOnRuleChange: boolean;
|
|
87
129
|
readonly hideRequiredAsterisk: boolean;
|
|
88
130
|
readonly scrollToError: boolean;
|
|
89
131
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -116,30 +158,72 @@ declare function __VLS_template(): {
|
|
|
116
158
|
};
|
|
117
159
|
readonly model: ObjectConstructor;
|
|
118
160
|
readonly rules: {
|
|
119
|
-
readonly type: import('vue').PropType<Partial<Record<string, import('element-plus
|
|
161
|
+
readonly type: import('vue').PropType<Partial<Record<string, import('element-plus').FormItemRule | import('element-plus').FormItemRule[]>>>;
|
|
120
162
|
readonly required: false;
|
|
121
163
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
122
164
|
__epPropKey: true;
|
|
123
165
|
};
|
|
124
|
-
readonly labelPosition:
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
166
|
+
readonly labelPosition: {
|
|
167
|
+
readonly type: import('vue').PropType<"top" | "right" | "left">;
|
|
168
|
+
readonly required: false;
|
|
169
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
170
|
+
__epPropKey: true;
|
|
171
|
+
} & {
|
|
172
|
+
readonly default: "right";
|
|
173
|
+
};
|
|
174
|
+
readonly requireAsteriskPosition: {
|
|
175
|
+
readonly type: import('vue').PropType<"right" | "left">;
|
|
176
|
+
readonly required: false;
|
|
177
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
178
|
+
__epPropKey: true;
|
|
179
|
+
} & {
|
|
180
|
+
readonly default: "left";
|
|
181
|
+
};
|
|
182
|
+
readonly labelWidth: {
|
|
183
|
+
readonly type: import('vue').PropType<string | number>;
|
|
184
|
+
readonly required: false;
|
|
185
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
186
|
+
__epPropKey: true;
|
|
187
|
+
} & {
|
|
188
|
+
readonly default: "";
|
|
189
|
+
};
|
|
190
|
+
readonly labelSuffix: {
|
|
191
|
+
readonly type: import('vue').PropType<string>;
|
|
192
|
+
readonly required: false;
|
|
193
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
194
|
+
__epPropKey: true;
|
|
195
|
+
} & {
|
|
196
|
+
readonly default: "";
|
|
197
|
+
};
|
|
128
198
|
readonly inline: BooleanConstructor;
|
|
129
199
|
readonly inlineMessage: BooleanConstructor;
|
|
130
200
|
readonly statusIcon: BooleanConstructor;
|
|
131
|
-
readonly showMessage:
|
|
132
|
-
|
|
201
|
+
readonly showMessage: {
|
|
202
|
+
readonly type: import('vue').PropType<boolean>;
|
|
203
|
+
readonly required: false;
|
|
204
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
205
|
+
__epPropKey: true;
|
|
206
|
+
} & {
|
|
207
|
+
readonly default: true;
|
|
208
|
+
};
|
|
209
|
+
readonly validateOnRuleChange: {
|
|
210
|
+
readonly type: import('vue').PropType<boolean>;
|
|
211
|
+
readonly required: false;
|
|
212
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
213
|
+
__epPropKey: true;
|
|
214
|
+
} & {
|
|
215
|
+
readonly default: true;
|
|
216
|
+
};
|
|
133
217
|
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
134
218
|
readonly scrollToError: BooleanConstructor;
|
|
135
219
|
readonly scrollIntoViewOptions: {
|
|
136
|
-
readonly type: import('vue').PropType<
|
|
220
|
+
readonly type: import('vue').PropType<boolean | Record<string, any>>;
|
|
137
221
|
readonly required: false;
|
|
138
222
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
139
223
|
__epPropKey: true;
|
|
140
224
|
};
|
|
141
225
|
readonly size: {
|
|
142
|
-
readonly type: import('vue').PropType<
|
|
226
|
+
readonly type: import('vue').PropType<"" | "default" | "small" | "large">;
|
|
143
227
|
readonly required: false;
|
|
144
228
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
145
229
|
__epPropKey: true;
|
|
@@ -155,18 +239,18 @@ declare function __VLS_template(): {
|
|
|
155
239
|
readonly modelValue: Record<string, any>;
|
|
156
240
|
readonly disabled: boolean;
|
|
157
241
|
readonly inline: boolean;
|
|
158
|
-
readonly labelWidth:
|
|
159
|
-
readonly labelPosition:
|
|
242
|
+
readonly labelWidth: string | number;
|
|
243
|
+
readonly labelPosition: "top" | "right" | "left";
|
|
160
244
|
readonly inlineMessage: boolean;
|
|
161
|
-
readonly showMessage:
|
|
245
|
+
readonly showMessage: boolean;
|
|
162
246
|
readonly formData: import('../../CommonForm').FormData;
|
|
163
247
|
readonly resetValue: Record<string, any>;
|
|
164
248
|
readonly rowConfig: Partial<import('element-plus').RowProps>;
|
|
165
249
|
readonly isSearch: boolean;
|
|
166
|
-
readonly requireAsteriskPosition:
|
|
250
|
+
readonly requireAsteriskPosition: "right" | "left";
|
|
167
251
|
readonly labelSuffix: string;
|
|
168
252
|
readonly statusIcon: boolean;
|
|
169
|
-
readonly validateOnRuleChange:
|
|
253
|
+
readonly validateOnRuleChange: boolean;
|
|
170
254
|
readonly hideRequiredAsterisk: boolean;
|
|
171
255
|
readonly scrollToError: boolean;
|
|
172
256
|
}> | null;
|
|
@@ -209,13 +293,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
209
293
|
readonly type: import('vue').PropType<{
|
|
210
294
|
show?: boolean;
|
|
211
295
|
title?: string;
|
|
212
|
-
width?: string;
|
|
296
|
+
width?: string | number;
|
|
213
297
|
fixed?: "left" | "right";
|
|
214
298
|
}>;
|
|
215
299
|
readonly default: () => {
|
|
216
300
|
show: boolean;
|
|
217
301
|
title: string;
|
|
218
|
-
width: string;
|
|
219
302
|
fixed: string;
|
|
220
303
|
};
|
|
221
304
|
};
|
|
@@ -308,13 +391,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
308
391
|
readonly type: import('vue').PropType<{
|
|
309
392
|
show?: boolean;
|
|
310
393
|
title?: string;
|
|
311
|
-
width?: string;
|
|
394
|
+
width?: string | number;
|
|
312
395
|
fixed?: "left" | "right";
|
|
313
396
|
}>;
|
|
314
397
|
readonly default: () => {
|
|
315
398
|
show: boolean;
|
|
316
399
|
title: string;
|
|
317
|
-
width: string;
|
|
318
400
|
fixed: string;
|
|
319
401
|
};
|
|
320
402
|
};
|
|
@@ -383,7 +465,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
383
465
|
readonly indexConfig: {
|
|
384
466
|
show?: boolean;
|
|
385
467
|
title?: string;
|
|
386
|
-
width?: string;
|
|
468
|
+
width?: string | number;
|
|
387
469
|
fixed?: "left" | "right";
|
|
388
470
|
};
|
|
389
471
|
readonly selectionConfig: {
|
|
@@ -52,13 +52,12 @@ export declare const tableProps: {
|
|
|
52
52
|
readonly type: PropType<{
|
|
53
53
|
show?: boolean;
|
|
54
54
|
title?: string;
|
|
55
|
-
width?: string;
|
|
55
|
+
width?: string | number;
|
|
56
56
|
fixed?: "left" | "right";
|
|
57
57
|
}>;
|
|
58
58
|
readonly default: () => {
|
|
59
59
|
show: boolean;
|
|
60
60
|
title: string;
|
|
61
|
-
width: string;
|
|
62
61
|
fixed: string;
|
|
63
62
|
};
|
|
64
63
|
};
|