@aspire-ui/element-component-pro 1.0.5 → 1.0.6
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/README.md +65 -1
- package/dist/ProDescriptions/ProDescriptions.vue.d.ts +136 -0
- package/dist/ProDescriptions/index.d.ts +5 -0
- package/dist/ProDescriptions/useDescription.d.ts +9 -0
- package/dist/ProForm/ProForm.vue.d.ts +1 -1
- package/dist/ProTable/ProTable.vue.d.ts +2 -2
- package/dist/element-component-pro.es.js +797 -634
- package/dist/element-component-pro.es.js.map +1 -1
- package/dist/element-component-pro.umd.js +2 -2
- package/dist/element-component-pro.umd.js.map +1 -1
- package/dist/index.d.ts +563 -150
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +60 -0
- package/package.json +1 -1
- package/src/ProDescriptions/ProDescriptions.vue +437 -0
- package/src/ProDescriptions/index.ts +5 -0
- package/src/ProDescriptions/useDescription.ts +52 -0
- package/src/index.ts +6 -0
- package/src/types/index.ts +64 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,21 +1,43 @@
|
|
|
1
1
|
import { VueConstructor } from 'vue';
|
|
2
2
|
import { default as ProTable, TableAction } from './ProTable';
|
|
3
3
|
import { default as ProForm, ProFormItem, FormActions } from './ProForm';
|
|
4
|
+
import { default as ProDescriptions } from './ProDescriptions';
|
|
4
5
|
import { useForm } from './ProForm/useForm';
|
|
6
|
+
import { useDescription } from './ProDescriptions/useDescription';
|
|
5
7
|
import { useProTable } from './ProTable/useProTable';
|
|
6
8
|
import { useComponentSetting } from './useComponentSetting';
|
|
7
9
|
|
|
8
10
|
export { ProForm, ProFormItem, FormActions, useForm };
|
|
9
11
|
export { ProTable, useProTable, TableAction };
|
|
12
|
+
export { ProDescriptions, useDescription };
|
|
10
13
|
export { useComponentSetting };
|
|
11
14
|
export type { UseComponentSettingReturn } from './useComponentSetting';
|
|
12
15
|
export type { UseProTableReturn, UseProTablePropsReactive } from './ProTable/useProTable';
|
|
16
|
+
export type { UseDescriptionReturn, UseDescriptionPropsReactive } from './ProDescriptions/useDescription';
|
|
13
17
|
export * from './ProTable/types';
|
|
14
18
|
export * from './types';
|
|
15
19
|
export declare function install(Vue: VueConstructor): void;
|
|
16
20
|
declare const _default: {
|
|
17
21
|
install: typeof install;
|
|
18
22
|
ProTable: import('vue/types/v3-component-public-instance').ComponentPublicInstanceConstructor<import('vue/types/v3-component-public-instance').Vue3Instance<{}, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
+
title: {
|
|
24
|
+
type: import('vue').PropType<string>;
|
|
25
|
+
};
|
|
26
|
+
size: {
|
|
27
|
+
type: import('vue').PropType<"medium" | "small" | "large">;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
bordered: {
|
|
31
|
+
type: import('vue').PropType<boolean>;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
load: {
|
|
35
|
+
type: import('vue').PropType<(row: Record<string, unknown>, treeNode: {
|
|
36
|
+
level: number;
|
|
37
|
+
expanded: boolean;
|
|
38
|
+
loaded: boolean;
|
|
39
|
+
}, resolve: (data: Record<string, unknown>[]) => void) => void>;
|
|
40
|
+
};
|
|
19
41
|
api: {
|
|
20
42
|
type: import('vue').PropType<(params: Record<string, unknown>) => Promise<{
|
|
21
43
|
list?: unknown[];
|
|
@@ -30,26 +52,12 @@ declare const _default: {
|
|
|
30
52
|
type: import('vue').PropType<boolean>;
|
|
31
53
|
default: boolean;
|
|
32
54
|
};
|
|
33
|
-
title: {
|
|
34
|
-
type: import('vue').PropType<string>;
|
|
35
|
-
};
|
|
36
|
-
load: {
|
|
37
|
-
type: import('vue').PropType<(row: Record<string, unknown>, treeNode: {
|
|
38
|
-
level: number;
|
|
39
|
-
expanded: boolean;
|
|
40
|
-
loaded: boolean;
|
|
41
|
-
}, resolve: (data: Record<string, unknown>[]) => void) => void>;
|
|
42
|
-
};
|
|
43
55
|
treeProps: {
|
|
44
56
|
type: import('vue').PropType<{
|
|
45
57
|
hasChildren?: string;
|
|
46
58
|
children?: string;
|
|
47
59
|
}>;
|
|
48
60
|
};
|
|
49
|
-
size: {
|
|
50
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
61
|
immediate: {
|
|
54
62
|
type: import('vue').PropType<boolean>;
|
|
55
63
|
default: boolean;
|
|
@@ -80,10 +88,6 @@ declare const _default: {
|
|
|
80
88
|
titleHelpMessage: {
|
|
81
89
|
type: import('vue').PropType<string | string[]>;
|
|
82
90
|
};
|
|
83
|
-
bordered: {
|
|
84
|
-
type: import('vue').PropType<boolean>;
|
|
85
|
-
default: boolean;
|
|
86
|
-
};
|
|
87
91
|
striped: {
|
|
88
92
|
type: import('vue').PropType<boolean>;
|
|
89
93
|
default: boolean;
|
|
@@ -186,6 +190,24 @@ declare const _default: {
|
|
|
186
190
|
type: import('vue').PropType<(string | number)[]>;
|
|
187
191
|
};
|
|
188
192
|
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
193
|
+
title: {
|
|
194
|
+
type: import('vue').PropType<string>;
|
|
195
|
+
};
|
|
196
|
+
size: {
|
|
197
|
+
type: import('vue').PropType<"medium" | "small" | "large">;
|
|
198
|
+
default: string;
|
|
199
|
+
};
|
|
200
|
+
bordered: {
|
|
201
|
+
type: import('vue').PropType<boolean>;
|
|
202
|
+
default: boolean;
|
|
203
|
+
};
|
|
204
|
+
load: {
|
|
205
|
+
type: import('vue').PropType<(row: Record<string, unknown>, treeNode: {
|
|
206
|
+
level: number;
|
|
207
|
+
expanded: boolean;
|
|
208
|
+
loaded: boolean;
|
|
209
|
+
}, resolve: (data: Record<string, unknown>[]) => void) => void>;
|
|
210
|
+
};
|
|
189
211
|
api: {
|
|
190
212
|
type: import('vue').PropType<(params: Record<string, unknown>) => Promise<{
|
|
191
213
|
list?: unknown[];
|
|
@@ -200,26 +222,12 @@ declare const _default: {
|
|
|
200
222
|
type: import('vue').PropType<boolean>;
|
|
201
223
|
default: boolean;
|
|
202
224
|
};
|
|
203
|
-
title: {
|
|
204
|
-
type: import('vue').PropType<string>;
|
|
205
|
-
};
|
|
206
|
-
load: {
|
|
207
|
-
type: import('vue').PropType<(row: Record<string, unknown>, treeNode: {
|
|
208
|
-
level: number;
|
|
209
|
-
expanded: boolean;
|
|
210
|
-
loaded: boolean;
|
|
211
|
-
}, resolve: (data: Record<string, unknown>[]) => void) => void>;
|
|
212
|
-
};
|
|
213
225
|
treeProps: {
|
|
214
226
|
type: import('vue').PropType<{
|
|
215
227
|
hasChildren?: string;
|
|
216
228
|
children?: string;
|
|
217
229
|
}>;
|
|
218
230
|
};
|
|
219
|
-
size: {
|
|
220
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
221
|
-
default: string;
|
|
222
|
-
};
|
|
223
231
|
immediate: {
|
|
224
232
|
type: import('vue').PropType<boolean>;
|
|
225
233
|
default: boolean;
|
|
@@ -250,10 +258,6 @@ declare const _default: {
|
|
|
250
258
|
titleHelpMessage: {
|
|
251
259
|
type: import('vue').PropType<string | string[]>;
|
|
252
260
|
};
|
|
253
|
-
bordered: {
|
|
254
|
-
type: import('vue').PropType<boolean>;
|
|
255
|
-
default: boolean;
|
|
256
|
-
};
|
|
257
261
|
striped: {
|
|
258
262
|
type: import('vue').PropType<boolean>;
|
|
259
263
|
default: boolean;
|
|
@@ -374,11 +378,11 @@ declare const _default: {
|
|
|
374
378
|
}) => void;
|
|
375
379
|
"expand-change": (row: Record<string, unknown>, expanded: boolean | Record<string, unknown>[]) => void;
|
|
376
380
|
}, {
|
|
377
|
-
loading: boolean;
|
|
378
381
|
size: "medium" | "small" | "large";
|
|
382
|
+
bordered: boolean;
|
|
383
|
+
loading: boolean;
|
|
379
384
|
immediate: boolean;
|
|
380
385
|
rowKey: string;
|
|
381
|
-
bordered: boolean;
|
|
382
386
|
striped: boolean;
|
|
383
387
|
ellipsis: boolean;
|
|
384
388
|
showIndexColumn: boolean;
|
|
@@ -397,6 +401,24 @@ declare const _default: {
|
|
|
397
401
|
};
|
|
398
402
|
fetchSetting: import('./ProTable').FetchSetting;
|
|
399
403
|
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
404
|
+
title: {
|
|
405
|
+
type: import('vue').PropType<string>;
|
|
406
|
+
};
|
|
407
|
+
size: {
|
|
408
|
+
type: import('vue').PropType<"medium" | "small" | "large">;
|
|
409
|
+
default: string;
|
|
410
|
+
};
|
|
411
|
+
bordered: {
|
|
412
|
+
type: import('vue').PropType<boolean>;
|
|
413
|
+
default: boolean;
|
|
414
|
+
};
|
|
415
|
+
load: {
|
|
416
|
+
type: import('vue').PropType<(row: Record<string, unknown>, treeNode: {
|
|
417
|
+
level: number;
|
|
418
|
+
expanded: boolean;
|
|
419
|
+
loaded: boolean;
|
|
420
|
+
}, resolve: (data: Record<string, unknown>[]) => void) => void>;
|
|
421
|
+
};
|
|
400
422
|
api: {
|
|
401
423
|
type: import('vue').PropType<(params: Record<string, unknown>) => Promise<{
|
|
402
424
|
list?: unknown[];
|
|
@@ -411,26 +433,12 @@ declare const _default: {
|
|
|
411
433
|
type: import('vue').PropType<boolean>;
|
|
412
434
|
default: boolean;
|
|
413
435
|
};
|
|
414
|
-
title: {
|
|
415
|
-
type: import('vue').PropType<string>;
|
|
416
|
-
};
|
|
417
|
-
load: {
|
|
418
|
-
type: import('vue').PropType<(row: Record<string, unknown>, treeNode: {
|
|
419
|
-
level: number;
|
|
420
|
-
expanded: boolean;
|
|
421
|
-
loaded: boolean;
|
|
422
|
-
}, resolve: (data: Record<string, unknown>[]) => void) => void>;
|
|
423
|
-
};
|
|
424
436
|
treeProps: {
|
|
425
437
|
type: import('vue').PropType<{
|
|
426
438
|
hasChildren?: string;
|
|
427
439
|
children?: string;
|
|
428
440
|
}>;
|
|
429
441
|
};
|
|
430
|
-
size: {
|
|
431
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
432
|
-
default: string;
|
|
433
|
-
};
|
|
434
442
|
immediate: {
|
|
435
443
|
type: import('vue').PropType<boolean>;
|
|
436
444
|
default: boolean;
|
|
@@ -461,10 +469,6 @@ declare const _default: {
|
|
|
461
469
|
titleHelpMessage: {
|
|
462
470
|
type: import('vue').PropType<string | string[]>;
|
|
463
471
|
};
|
|
464
|
-
bordered: {
|
|
465
|
-
type: import('vue').PropType<boolean>;
|
|
466
|
-
default: boolean;
|
|
467
|
-
};
|
|
468
472
|
striped: {
|
|
469
473
|
type: import('vue').PropType<boolean>;
|
|
470
474
|
default: boolean;
|
|
@@ -601,6 +605,24 @@ declare const _default: {
|
|
|
601
605
|
expandAll?: () => void;
|
|
602
606
|
collapseAll?: () => void;
|
|
603
607
|
}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
608
|
+
title: {
|
|
609
|
+
type: import('vue').PropType<string>;
|
|
610
|
+
};
|
|
611
|
+
size: {
|
|
612
|
+
type: import('vue').PropType<"medium" | "small" | "large">;
|
|
613
|
+
default: string;
|
|
614
|
+
};
|
|
615
|
+
bordered: {
|
|
616
|
+
type: import('vue').PropType<boolean>;
|
|
617
|
+
default: boolean;
|
|
618
|
+
};
|
|
619
|
+
load: {
|
|
620
|
+
type: import('vue').PropType<(row: Record<string, unknown>, treeNode: {
|
|
621
|
+
level: number;
|
|
622
|
+
expanded: boolean;
|
|
623
|
+
loaded: boolean;
|
|
624
|
+
}, resolve: (data: Record<string, unknown>[]) => void) => void>;
|
|
625
|
+
};
|
|
604
626
|
api: {
|
|
605
627
|
type: import('vue').PropType<(params: Record<string, unknown>) => Promise<{
|
|
606
628
|
list?: unknown[];
|
|
@@ -615,26 +637,12 @@ declare const _default: {
|
|
|
615
637
|
type: import('vue').PropType<boolean>;
|
|
616
638
|
default: boolean;
|
|
617
639
|
};
|
|
618
|
-
title: {
|
|
619
|
-
type: import('vue').PropType<string>;
|
|
620
|
-
};
|
|
621
|
-
load: {
|
|
622
|
-
type: import('vue').PropType<(row: Record<string, unknown>, treeNode: {
|
|
623
|
-
level: number;
|
|
624
|
-
expanded: boolean;
|
|
625
|
-
loaded: boolean;
|
|
626
|
-
}, resolve: (data: Record<string, unknown>[]) => void) => void>;
|
|
627
|
-
};
|
|
628
640
|
treeProps: {
|
|
629
641
|
type: import('vue').PropType<{
|
|
630
642
|
hasChildren?: string;
|
|
631
643
|
children?: string;
|
|
632
644
|
}>;
|
|
633
645
|
};
|
|
634
|
-
size: {
|
|
635
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
636
|
-
default: string;
|
|
637
|
-
};
|
|
638
646
|
immediate: {
|
|
639
647
|
type: import('vue').PropType<boolean>;
|
|
640
648
|
default: boolean;
|
|
@@ -665,10 +673,6 @@ declare const _default: {
|
|
|
665
673
|
titleHelpMessage: {
|
|
666
674
|
type: import('vue').PropType<string | string[]>;
|
|
667
675
|
};
|
|
668
|
-
bordered: {
|
|
669
|
-
type: import('vue').PropType<boolean>;
|
|
670
|
-
default: boolean;
|
|
671
|
-
};
|
|
672
676
|
striped: {
|
|
673
677
|
type: import('vue').PropType<boolean>;
|
|
674
678
|
default: boolean;
|
|
@@ -771,6 +775,24 @@ declare const _default: {
|
|
|
771
775
|
type: import('vue').PropType<(string | number)[]>;
|
|
772
776
|
};
|
|
773
777
|
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
778
|
+
title: {
|
|
779
|
+
type: import('vue').PropType<string>;
|
|
780
|
+
};
|
|
781
|
+
size: {
|
|
782
|
+
type: import('vue').PropType<"medium" | "small" | "large">;
|
|
783
|
+
default: string;
|
|
784
|
+
};
|
|
785
|
+
bordered: {
|
|
786
|
+
type: import('vue').PropType<boolean>;
|
|
787
|
+
default: boolean;
|
|
788
|
+
};
|
|
789
|
+
load: {
|
|
790
|
+
type: import('vue').PropType<(row: Record<string, unknown>, treeNode: {
|
|
791
|
+
level: number;
|
|
792
|
+
expanded: boolean;
|
|
793
|
+
loaded: boolean;
|
|
794
|
+
}, resolve: (data: Record<string, unknown>[]) => void) => void>;
|
|
795
|
+
};
|
|
774
796
|
api: {
|
|
775
797
|
type: import('vue').PropType<(params: Record<string, unknown>) => Promise<{
|
|
776
798
|
list?: unknown[];
|
|
@@ -785,26 +807,12 @@ declare const _default: {
|
|
|
785
807
|
type: import('vue').PropType<boolean>;
|
|
786
808
|
default: boolean;
|
|
787
809
|
};
|
|
788
|
-
title: {
|
|
789
|
-
type: import('vue').PropType<string>;
|
|
790
|
-
};
|
|
791
|
-
load: {
|
|
792
|
-
type: import('vue').PropType<(row: Record<string, unknown>, treeNode: {
|
|
793
|
-
level: number;
|
|
794
|
-
expanded: boolean;
|
|
795
|
-
loaded: boolean;
|
|
796
|
-
}, resolve: (data: Record<string, unknown>[]) => void) => void>;
|
|
797
|
-
};
|
|
798
810
|
treeProps: {
|
|
799
811
|
type: import('vue').PropType<{
|
|
800
812
|
hasChildren?: string;
|
|
801
813
|
children?: string;
|
|
802
814
|
}>;
|
|
803
815
|
};
|
|
804
|
-
size: {
|
|
805
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
806
|
-
default: string;
|
|
807
|
-
};
|
|
808
816
|
immediate: {
|
|
809
817
|
type: import('vue').PropType<boolean>;
|
|
810
818
|
default: boolean;
|
|
@@ -835,10 +843,6 @@ declare const _default: {
|
|
|
835
843
|
titleHelpMessage: {
|
|
836
844
|
type: import('vue').PropType<string | string[]>;
|
|
837
845
|
};
|
|
838
|
-
bordered: {
|
|
839
|
-
type: import('vue').PropType<boolean>;
|
|
840
|
-
default: boolean;
|
|
841
|
-
};
|
|
842
846
|
striped: {
|
|
843
847
|
type: import('vue').PropType<boolean>;
|
|
844
848
|
default: boolean;
|
|
@@ -993,11 +997,11 @@ declare const _default: {
|
|
|
993
997
|
}) => void;
|
|
994
998
|
"expand-change": (row: Record<string, unknown>, expanded: boolean | Record<string, unknown>[]) => void;
|
|
995
999
|
}, string, {
|
|
996
|
-
loading: boolean;
|
|
997
1000
|
size: "medium" | "small" | "large";
|
|
1001
|
+
bordered: boolean;
|
|
1002
|
+
loading: boolean;
|
|
998
1003
|
immediate: boolean;
|
|
999
1004
|
rowKey: string;
|
|
1000
|
-
bordered: boolean;
|
|
1001
1005
|
striped: boolean;
|
|
1002
1006
|
ellipsis: boolean;
|
|
1003
1007
|
showIndexColumn: boolean;
|
|
@@ -1017,6 +1021,24 @@ declare const _default: {
|
|
|
1017
1021
|
fetchSetting: import('./ProTable').FetchSetting;
|
|
1018
1022
|
}> & {
|
|
1019
1023
|
props: {
|
|
1024
|
+
title: {
|
|
1025
|
+
type: import('vue').PropType<string>;
|
|
1026
|
+
};
|
|
1027
|
+
size: {
|
|
1028
|
+
type: import('vue').PropType<"medium" | "small" | "large">;
|
|
1029
|
+
default: string;
|
|
1030
|
+
};
|
|
1031
|
+
bordered: {
|
|
1032
|
+
type: import('vue').PropType<boolean>;
|
|
1033
|
+
default: boolean;
|
|
1034
|
+
};
|
|
1035
|
+
load: {
|
|
1036
|
+
type: import('vue').PropType<(row: Record<string, unknown>, treeNode: {
|
|
1037
|
+
level: number;
|
|
1038
|
+
expanded: boolean;
|
|
1039
|
+
loaded: boolean;
|
|
1040
|
+
}, resolve: (data: Record<string, unknown>[]) => void) => void>;
|
|
1041
|
+
};
|
|
1020
1042
|
api: {
|
|
1021
1043
|
type: import('vue').PropType<(params: Record<string, unknown>) => Promise<{
|
|
1022
1044
|
list?: unknown[];
|
|
@@ -1031,26 +1053,12 @@ declare const _default: {
|
|
|
1031
1053
|
type: import('vue').PropType<boolean>;
|
|
1032
1054
|
default: boolean;
|
|
1033
1055
|
};
|
|
1034
|
-
title: {
|
|
1035
|
-
type: import('vue').PropType<string>;
|
|
1036
|
-
};
|
|
1037
|
-
load: {
|
|
1038
|
-
type: import('vue').PropType<(row: Record<string, unknown>, treeNode: {
|
|
1039
|
-
level: number;
|
|
1040
|
-
expanded: boolean;
|
|
1041
|
-
loaded: boolean;
|
|
1042
|
-
}, resolve: (data: Record<string, unknown>[]) => void) => void>;
|
|
1043
|
-
};
|
|
1044
1056
|
treeProps: {
|
|
1045
1057
|
type: import('vue').PropType<{
|
|
1046
1058
|
hasChildren?: string;
|
|
1047
1059
|
children?: string;
|
|
1048
1060
|
}>;
|
|
1049
1061
|
};
|
|
1050
|
-
size: {
|
|
1051
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
1052
|
-
default: string;
|
|
1053
|
-
};
|
|
1054
1062
|
immediate: {
|
|
1055
1063
|
type: import('vue').PropType<boolean>;
|
|
1056
1064
|
default: boolean;
|
|
@@ -1081,10 +1089,6 @@ declare const _default: {
|
|
|
1081
1089
|
titleHelpMessage: {
|
|
1082
1090
|
type: import('vue').PropType<string | string[]>;
|
|
1083
1091
|
};
|
|
1084
|
-
bordered: {
|
|
1085
|
-
type: import('vue').PropType<boolean>;
|
|
1086
|
-
default: boolean;
|
|
1087
|
-
};
|
|
1088
1092
|
striped: {
|
|
1089
1093
|
type: import('vue').PropType<boolean>;
|
|
1090
1094
|
default: boolean;
|
|
@@ -1303,12 +1307,16 @@ declare const _default: {
|
|
|
1303
1307
|
};
|
|
1304
1308
|
});
|
|
1305
1309
|
ProForm: import('vue/types/v3-component-public-instance').ComponentPublicInstanceConstructor<import('vue/types/v3-component-public-instance').Vue3Instance<{}, Readonly<import('vue').ExtractPropTypes<{
|
|
1306
|
-
|
|
1307
|
-
type: import('vue').PropType<
|
|
1310
|
+
size: {
|
|
1311
|
+
type: import('vue').PropType<"medium" | "small" | "large">;
|
|
1312
|
+
default: string;
|
|
1308
1313
|
};
|
|
1309
1314
|
components: {
|
|
1310
1315
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1311
1316
|
};
|
|
1317
|
+
disabled: {
|
|
1318
|
+
type: import('vue').PropType<boolean>;
|
|
1319
|
+
};
|
|
1312
1320
|
showActionButtonGroup: {
|
|
1313
1321
|
type: import('vue').PropType<boolean>;
|
|
1314
1322
|
default: boolean;
|
|
@@ -1372,10 +1380,6 @@ declare const _default: {
|
|
|
1372
1380
|
type: import('vue').PropType<number>;
|
|
1373
1381
|
default: number;
|
|
1374
1382
|
};
|
|
1375
|
-
size: {
|
|
1376
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
1377
|
-
default: string;
|
|
1378
|
-
};
|
|
1379
1383
|
baseColProps: {
|
|
1380
1384
|
type: import('vue').PropType<import('./types').ColEx>;
|
|
1381
1385
|
default: () => {
|
|
@@ -1415,12 +1419,16 @@ declare const _default: {
|
|
|
1415
1419
|
type: import('vue').PropType<import('./types').FormListeners>;
|
|
1416
1420
|
};
|
|
1417
1421
|
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
1418
|
-
|
|
1419
|
-
type: import('vue').PropType<
|
|
1422
|
+
size: {
|
|
1423
|
+
type: import('vue').PropType<"medium" | "small" | "large">;
|
|
1424
|
+
default: string;
|
|
1420
1425
|
};
|
|
1421
1426
|
components: {
|
|
1422
1427
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1423
1428
|
};
|
|
1429
|
+
disabled: {
|
|
1430
|
+
type: import('vue').PropType<boolean>;
|
|
1431
|
+
};
|
|
1424
1432
|
showActionButtonGroup: {
|
|
1425
1433
|
type: import('vue').PropType<boolean>;
|
|
1426
1434
|
default: boolean;
|
|
@@ -1484,10 +1492,6 @@ declare const _default: {
|
|
|
1484
1492
|
type: import('vue').PropType<number>;
|
|
1485
1493
|
default: number;
|
|
1486
1494
|
};
|
|
1487
|
-
size: {
|
|
1488
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
1489
|
-
default: string;
|
|
1490
|
-
};
|
|
1491
1495
|
baseColProps: {
|
|
1492
1496
|
type: import('vue').PropType<import('./types').ColEx>;
|
|
1493
1497
|
default: () => {
|
|
@@ -1532,6 +1536,7 @@ declare const _default: {
|
|
|
1532
1536
|
register: (formAction: import('./types').FormActionType) => void;
|
|
1533
1537
|
"update:modelValue": (values: Record<string, unknown>) => void;
|
|
1534
1538
|
}, {
|
|
1539
|
+
size: "medium" | "small" | "large";
|
|
1535
1540
|
showActionButtonGroup: boolean;
|
|
1536
1541
|
showSubmitButton: boolean;
|
|
1537
1542
|
showResetButton: boolean;
|
|
@@ -1544,19 +1549,22 @@ declare const _default: {
|
|
|
1544
1549
|
labelWidth: string;
|
|
1545
1550
|
labelPosition: "left" | "right" | "top";
|
|
1546
1551
|
gutter: number;
|
|
1547
|
-
size: "medium" | "small" | "large";
|
|
1548
1552
|
baseColProps: import('./types').ColEx;
|
|
1549
1553
|
autoSetPlaceholder: boolean;
|
|
1550
1554
|
autoAdvancedLine: number;
|
|
1551
1555
|
alwaysShowLines: number;
|
|
1552
1556
|
submitOnReset: boolean;
|
|
1553
1557
|
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
1554
|
-
|
|
1555
|
-
type: import('vue').PropType<
|
|
1558
|
+
size: {
|
|
1559
|
+
type: import('vue').PropType<"medium" | "small" | "large">;
|
|
1560
|
+
default: string;
|
|
1556
1561
|
};
|
|
1557
1562
|
components: {
|
|
1558
1563
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1559
1564
|
};
|
|
1565
|
+
disabled: {
|
|
1566
|
+
type: import('vue').PropType<boolean>;
|
|
1567
|
+
};
|
|
1560
1568
|
showActionButtonGroup: {
|
|
1561
1569
|
type: import('vue').PropType<boolean>;
|
|
1562
1570
|
default: boolean;
|
|
@@ -1620,10 +1628,6 @@ declare const _default: {
|
|
|
1620
1628
|
type: import('vue').PropType<number>;
|
|
1621
1629
|
default: number;
|
|
1622
1630
|
};
|
|
1623
|
-
size: {
|
|
1624
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
1625
|
-
default: string;
|
|
1626
|
-
};
|
|
1627
1631
|
baseColProps: {
|
|
1628
1632
|
type: import('vue').PropType<import('./types').ColEx>;
|
|
1629
1633
|
default: () => {
|
|
@@ -1676,12 +1680,16 @@ declare const _default: {
|
|
|
1676
1680
|
removeSchemaByField: (field: string | string[]) => Promise<void>;
|
|
1677
1681
|
setProps: (props: Partial<import('./types').ProFormProps>) => Promise<void>;
|
|
1678
1682
|
}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
1679
|
-
|
|
1680
|
-
type: import('vue').PropType<
|
|
1683
|
+
size: {
|
|
1684
|
+
type: import('vue').PropType<"medium" | "small" | "large">;
|
|
1685
|
+
default: string;
|
|
1681
1686
|
};
|
|
1682
1687
|
components: {
|
|
1683
1688
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1684
1689
|
};
|
|
1690
|
+
disabled: {
|
|
1691
|
+
type: import('vue').PropType<boolean>;
|
|
1692
|
+
};
|
|
1685
1693
|
showActionButtonGroup: {
|
|
1686
1694
|
type: import('vue').PropType<boolean>;
|
|
1687
1695
|
default: boolean;
|
|
@@ -1745,10 +1753,6 @@ declare const _default: {
|
|
|
1745
1753
|
type: import('vue').PropType<number>;
|
|
1746
1754
|
default: number;
|
|
1747
1755
|
};
|
|
1748
|
-
size: {
|
|
1749
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
1750
|
-
default: string;
|
|
1751
|
-
};
|
|
1752
1756
|
baseColProps: {
|
|
1753
1757
|
type: import('vue').PropType<import('./types').ColEx>;
|
|
1754
1758
|
default: () => {
|
|
@@ -1788,12 +1792,16 @@ declare const _default: {
|
|
|
1788
1792
|
type: import('vue').PropType<import('./types').FormListeners>;
|
|
1789
1793
|
};
|
|
1790
1794
|
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
1791
|
-
|
|
1792
|
-
type: import('vue').PropType<
|
|
1795
|
+
size: {
|
|
1796
|
+
type: import('vue').PropType<"medium" | "small" | "large">;
|
|
1797
|
+
default: string;
|
|
1793
1798
|
};
|
|
1794
1799
|
components: {
|
|
1795
1800
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1796
1801
|
};
|
|
1802
|
+
disabled: {
|
|
1803
|
+
type: import('vue').PropType<boolean>;
|
|
1804
|
+
};
|
|
1797
1805
|
showActionButtonGroup: {
|
|
1798
1806
|
type: import('vue').PropType<boolean>;
|
|
1799
1807
|
default: boolean;
|
|
@@ -1857,10 +1865,6 @@ declare const _default: {
|
|
|
1857
1865
|
type: import('vue').PropType<number>;
|
|
1858
1866
|
default: number;
|
|
1859
1867
|
};
|
|
1860
|
-
size: {
|
|
1861
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
1862
|
-
default: string;
|
|
1863
|
-
};
|
|
1864
1868
|
baseColProps: {
|
|
1865
1869
|
type: import('vue').PropType<import('./types').ColEx>;
|
|
1866
1870
|
default: () => {
|
|
@@ -1918,6 +1922,7 @@ declare const _default: {
|
|
|
1918
1922
|
register: (formAction: import('./types').FormActionType) => void;
|
|
1919
1923
|
"update:modelValue": (values: Record<string, unknown>) => void;
|
|
1920
1924
|
}, string, {
|
|
1925
|
+
size: "medium" | "small" | "large";
|
|
1921
1926
|
showActionButtonGroup: boolean;
|
|
1922
1927
|
showSubmitButton: boolean;
|
|
1923
1928
|
showResetButton: boolean;
|
|
@@ -1930,7 +1935,6 @@ declare const _default: {
|
|
|
1930
1935
|
labelWidth: string;
|
|
1931
1936
|
labelPosition: "left" | "right" | "top";
|
|
1932
1937
|
gutter: number;
|
|
1933
|
-
size: "medium" | "small" | "large";
|
|
1934
1938
|
baseColProps: import('./types').ColEx;
|
|
1935
1939
|
autoSetPlaceholder: boolean;
|
|
1936
1940
|
autoAdvancedLine: number;
|
|
@@ -1938,12 +1942,16 @@ declare const _default: {
|
|
|
1938
1942
|
submitOnReset: boolean;
|
|
1939
1943
|
}> & {
|
|
1940
1944
|
props: {
|
|
1941
|
-
|
|
1942
|
-
type: import('vue').PropType<
|
|
1945
|
+
size: {
|
|
1946
|
+
type: import('vue').PropType<"medium" | "small" | "large">;
|
|
1947
|
+
default: string;
|
|
1943
1948
|
};
|
|
1944
1949
|
components: {
|
|
1945
1950
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1946
1951
|
};
|
|
1952
|
+
disabled: {
|
|
1953
|
+
type: import('vue').PropType<boolean>;
|
|
1954
|
+
};
|
|
1947
1955
|
showActionButtonGroup: {
|
|
1948
1956
|
type: import('vue').PropType<boolean>;
|
|
1949
1957
|
default: boolean;
|
|
@@ -2007,10 +2015,6 @@ declare const _default: {
|
|
|
2007
2015
|
type: import('vue').PropType<number>;
|
|
2008
2016
|
default: number;
|
|
2009
2017
|
};
|
|
2010
|
-
size: {
|
|
2011
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
2012
|
-
default: string;
|
|
2013
|
-
};
|
|
2014
2018
|
baseColProps: {
|
|
2015
2019
|
type: import('vue').PropType<import('./types').ColEx>;
|
|
2016
2020
|
default: () => {
|
|
@@ -2099,6 +2103,415 @@ declare const _default: {
|
|
|
2099
2103
|
formFooter?(_: {}): any;
|
|
2100
2104
|
};
|
|
2101
2105
|
});
|
|
2106
|
+
ProDescriptions: import('vue/types/v3-component-public-instance').ComponentPublicInstanceConstructor<import('vue/types/v3-component-public-instance').Vue3Instance<{}, Readonly<import('vue').ExtractPropTypes<{
|
|
2107
|
+
title: {
|
|
2108
|
+
type: import('vue').PropType<string>;
|
|
2109
|
+
};
|
|
2110
|
+
helpMessage: {
|
|
2111
|
+
type: import('vue').PropType<string | string[]>;
|
|
2112
|
+
};
|
|
2113
|
+
size: {
|
|
2114
|
+
type: import('vue').PropType<"medium" | "small">;
|
|
2115
|
+
default: string;
|
|
2116
|
+
};
|
|
2117
|
+
bordered: {
|
|
2118
|
+
type: import('vue').PropType<boolean>;
|
|
2119
|
+
default: boolean;
|
|
2120
|
+
};
|
|
2121
|
+
column: {
|
|
2122
|
+
type: import('vue').PropType<import('./types').DescriptionColumn>;
|
|
2123
|
+
default: () => {
|
|
2124
|
+
xxl: number;
|
|
2125
|
+
xl: number;
|
|
2126
|
+
lg: number;
|
|
2127
|
+
md: number;
|
|
2128
|
+
sm: number;
|
|
2129
|
+
xs: number;
|
|
2130
|
+
};
|
|
2131
|
+
};
|
|
2132
|
+
schema: {
|
|
2133
|
+
type: import('vue').PropType<import('./types').DescriptionSchema[]>;
|
|
2134
|
+
default: () => never[];
|
|
2135
|
+
};
|
|
2136
|
+
data: {
|
|
2137
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
2138
|
+
default: () => {};
|
|
2139
|
+
};
|
|
2140
|
+
emptyText: {
|
|
2141
|
+
type: import('vue').PropType<string>;
|
|
2142
|
+
default: string;
|
|
2143
|
+
};
|
|
2144
|
+
useCollapse: {
|
|
2145
|
+
type: import('vue').PropType<boolean>;
|
|
2146
|
+
default: boolean;
|
|
2147
|
+
};
|
|
2148
|
+
collapseOptions: {
|
|
2149
|
+
type: import('vue').PropType<{
|
|
2150
|
+
canExpand?: boolean;
|
|
2151
|
+
defaultExpand?: boolean;
|
|
2152
|
+
expandButtonText?: string;
|
|
2153
|
+
collapseButtonText?: string;
|
|
2154
|
+
helpMessage?: string | string[];
|
|
2155
|
+
visibleRows?: number;
|
|
2156
|
+
}>;
|
|
2157
|
+
default: () => {
|
|
2158
|
+
canExpand: boolean;
|
|
2159
|
+
defaultExpand: boolean;
|
|
2160
|
+
expandButtonText: string;
|
|
2161
|
+
collapseButtonText: string;
|
|
2162
|
+
visibleRows: number;
|
|
2163
|
+
};
|
|
2164
|
+
};
|
|
2165
|
+
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
2166
|
+
title: {
|
|
2167
|
+
type: import('vue').PropType<string>;
|
|
2168
|
+
};
|
|
2169
|
+
helpMessage: {
|
|
2170
|
+
type: import('vue').PropType<string | string[]>;
|
|
2171
|
+
};
|
|
2172
|
+
size: {
|
|
2173
|
+
type: import('vue').PropType<"medium" | "small">;
|
|
2174
|
+
default: string;
|
|
2175
|
+
};
|
|
2176
|
+
bordered: {
|
|
2177
|
+
type: import('vue').PropType<boolean>;
|
|
2178
|
+
default: boolean;
|
|
2179
|
+
};
|
|
2180
|
+
column: {
|
|
2181
|
+
type: import('vue').PropType<import('./types').DescriptionColumn>;
|
|
2182
|
+
default: () => {
|
|
2183
|
+
xxl: number;
|
|
2184
|
+
xl: number;
|
|
2185
|
+
lg: number;
|
|
2186
|
+
md: number;
|
|
2187
|
+
sm: number;
|
|
2188
|
+
xs: number;
|
|
2189
|
+
};
|
|
2190
|
+
};
|
|
2191
|
+
schema: {
|
|
2192
|
+
type: import('vue').PropType<import('./types').DescriptionSchema[]>;
|
|
2193
|
+
default: () => never[];
|
|
2194
|
+
};
|
|
2195
|
+
data: {
|
|
2196
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
2197
|
+
default: () => {};
|
|
2198
|
+
};
|
|
2199
|
+
emptyText: {
|
|
2200
|
+
type: import('vue').PropType<string>;
|
|
2201
|
+
default: string;
|
|
2202
|
+
};
|
|
2203
|
+
useCollapse: {
|
|
2204
|
+
type: import('vue').PropType<boolean>;
|
|
2205
|
+
default: boolean;
|
|
2206
|
+
};
|
|
2207
|
+
collapseOptions: {
|
|
2208
|
+
type: import('vue').PropType<{
|
|
2209
|
+
canExpand?: boolean;
|
|
2210
|
+
defaultExpand?: boolean;
|
|
2211
|
+
expandButtonText?: string;
|
|
2212
|
+
collapseButtonText?: string;
|
|
2213
|
+
helpMessage?: string | string[];
|
|
2214
|
+
visibleRows?: number;
|
|
2215
|
+
}>;
|
|
2216
|
+
default: () => {
|
|
2217
|
+
canExpand: boolean;
|
|
2218
|
+
defaultExpand: boolean;
|
|
2219
|
+
expandButtonText: string;
|
|
2220
|
+
collapseButtonText: string;
|
|
2221
|
+
visibleRows: number;
|
|
2222
|
+
};
|
|
2223
|
+
};
|
|
2224
|
+
}>>, {
|
|
2225
|
+
register: (action: import('./types').DescriptionActionType) => void;
|
|
2226
|
+
}, {
|
|
2227
|
+
size: "medium" | "small";
|
|
2228
|
+
bordered: boolean;
|
|
2229
|
+
column: import('./types').DescriptionColumn;
|
|
2230
|
+
schema: import('./types').DescriptionSchema[];
|
|
2231
|
+
data: Record<string, unknown>;
|
|
2232
|
+
emptyText: string;
|
|
2233
|
+
useCollapse: boolean;
|
|
2234
|
+
collapseOptions: {
|
|
2235
|
+
canExpand?: boolean;
|
|
2236
|
+
defaultExpand?: boolean;
|
|
2237
|
+
expandButtonText?: string;
|
|
2238
|
+
collapseButtonText?: string;
|
|
2239
|
+
helpMessage?: string | string[];
|
|
2240
|
+
visibleRows?: number;
|
|
2241
|
+
};
|
|
2242
|
+
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
2243
|
+
title: {
|
|
2244
|
+
type: import('vue').PropType<string>;
|
|
2245
|
+
};
|
|
2246
|
+
helpMessage: {
|
|
2247
|
+
type: import('vue').PropType<string | string[]>;
|
|
2248
|
+
};
|
|
2249
|
+
size: {
|
|
2250
|
+
type: import('vue').PropType<"medium" | "small">;
|
|
2251
|
+
default: string;
|
|
2252
|
+
};
|
|
2253
|
+
bordered: {
|
|
2254
|
+
type: import('vue').PropType<boolean>;
|
|
2255
|
+
default: boolean;
|
|
2256
|
+
};
|
|
2257
|
+
column: {
|
|
2258
|
+
type: import('vue').PropType<import('./types').DescriptionColumn>;
|
|
2259
|
+
default: () => {
|
|
2260
|
+
xxl: number;
|
|
2261
|
+
xl: number;
|
|
2262
|
+
lg: number;
|
|
2263
|
+
md: number;
|
|
2264
|
+
sm: number;
|
|
2265
|
+
xs: number;
|
|
2266
|
+
};
|
|
2267
|
+
};
|
|
2268
|
+
schema: {
|
|
2269
|
+
type: import('vue').PropType<import('./types').DescriptionSchema[]>;
|
|
2270
|
+
default: () => never[];
|
|
2271
|
+
};
|
|
2272
|
+
data: {
|
|
2273
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
2274
|
+
default: () => {};
|
|
2275
|
+
};
|
|
2276
|
+
emptyText: {
|
|
2277
|
+
type: import('vue').PropType<string>;
|
|
2278
|
+
default: string;
|
|
2279
|
+
};
|
|
2280
|
+
useCollapse: {
|
|
2281
|
+
type: import('vue').PropType<boolean>;
|
|
2282
|
+
default: boolean;
|
|
2283
|
+
};
|
|
2284
|
+
collapseOptions: {
|
|
2285
|
+
type: import('vue').PropType<{
|
|
2286
|
+
canExpand?: boolean;
|
|
2287
|
+
defaultExpand?: boolean;
|
|
2288
|
+
expandButtonText?: string;
|
|
2289
|
+
collapseButtonText?: string;
|
|
2290
|
+
helpMessage?: string | string[];
|
|
2291
|
+
visibleRows?: number;
|
|
2292
|
+
}>;
|
|
2293
|
+
default: () => {
|
|
2294
|
+
canExpand: boolean;
|
|
2295
|
+
defaultExpand: boolean;
|
|
2296
|
+
expandButtonText: string;
|
|
2297
|
+
collapseButtonText: string;
|
|
2298
|
+
visibleRows: number;
|
|
2299
|
+
};
|
|
2300
|
+
};
|
|
2301
|
+
}>>> & import('vue').ShallowUnwrapRef<{
|
|
2302
|
+
setProps: (props: Partial<import('./types').DescriptionProps>) => Promise<void>;
|
|
2303
|
+
setData: (data: Record<string, unknown>) => Promise<void>;
|
|
2304
|
+
getData: () => Record<string, unknown>;
|
|
2305
|
+
}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
2306
|
+
title: {
|
|
2307
|
+
type: import('vue').PropType<string>;
|
|
2308
|
+
};
|
|
2309
|
+
helpMessage: {
|
|
2310
|
+
type: import('vue').PropType<string | string[]>;
|
|
2311
|
+
};
|
|
2312
|
+
size: {
|
|
2313
|
+
type: import('vue').PropType<"medium" | "small">;
|
|
2314
|
+
default: string;
|
|
2315
|
+
};
|
|
2316
|
+
bordered: {
|
|
2317
|
+
type: import('vue').PropType<boolean>;
|
|
2318
|
+
default: boolean;
|
|
2319
|
+
};
|
|
2320
|
+
column: {
|
|
2321
|
+
type: import('vue').PropType<import('./types').DescriptionColumn>;
|
|
2322
|
+
default: () => {
|
|
2323
|
+
xxl: number;
|
|
2324
|
+
xl: number;
|
|
2325
|
+
lg: number;
|
|
2326
|
+
md: number;
|
|
2327
|
+
sm: number;
|
|
2328
|
+
xs: number;
|
|
2329
|
+
};
|
|
2330
|
+
};
|
|
2331
|
+
schema: {
|
|
2332
|
+
type: import('vue').PropType<import('./types').DescriptionSchema[]>;
|
|
2333
|
+
default: () => never[];
|
|
2334
|
+
};
|
|
2335
|
+
data: {
|
|
2336
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
2337
|
+
default: () => {};
|
|
2338
|
+
};
|
|
2339
|
+
emptyText: {
|
|
2340
|
+
type: import('vue').PropType<string>;
|
|
2341
|
+
default: string;
|
|
2342
|
+
};
|
|
2343
|
+
useCollapse: {
|
|
2344
|
+
type: import('vue').PropType<boolean>;
|
|
2345
|
+
default: boolean;
|
|
2346
|
+
};
|
|
2347
|
+
collapseOptions: {
|
|
2348
|
+
type: import('vue').PropType<{
|
|
2349
|
+
canExpand?: boolean;
|
|
2350
|
+
defaultExpand?: boolean;
|
|
2351
|
+
expandButtonText?: string;
|
|
2352
|
+
collapseButtonText?: string;
|
|
2353
|
+
helpMessage?: string | string[];
|
|
2354
|
+
visibleRows?: number;
|
|
2355
|
+
}>;
|
|
2356
|
+
default: () => {
|
|
2357
|
+
canExpand: boolean;
|
|
2358
|
+
defaultExpand: boolean;
|
|
2359
|
+
expandButtonText: string;
|
|
2360
|
+
collapseButtonText: string;
|
|
2361
|
+
visibleRows: number;
|
|
2362
|
+
};
|
|
2363
|
+
};
|
|
2364
|
+
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
2365
|
+
title: {
|
|
2366
|
+
type: import('vue').PropType<string>;
|
|
2367
|
+
};
|
|
2368
|
+
helpMessage: {
|
|
2369
|
+
type: import('vue').PropType<string | string[]>;
|
|
2370
|
+
};
|
|
2371
|
+
size: {
|
|
2372
|
+
type: import('vue').PropType<"medium" | "small">;
|
|
2373
|
+
default: string;
|
|
2374
|
+
};
|
|
2375
|
+
bordered: {
|
|
2376
|
+
type: import('vue').PropType<boolean>;
|
|
2377
|
+
default: boolean;
|
|
2378
|
+
};
|
|
2379
|
+
column: {
|
|
2380
|
+
type: import('vue').PropType<import('./types').DescriptionColumn>;
|
|
2381
|
+
default: () => {
|
|
2382
|
+
xxl: number;
|
|
2383
|
+
xl: number;
|
|
2384
|
+
lg: number;
|
|
2385
|
+
md: number;
|
|
2386
|
+
sm: number;
|
|
2387
|
+
xs: number;
|
|
2388
|
+
};
|
|
2389
|
+
};
|
|
2390
|
+
schema: {
|
|
2391
|
+
type: import('vue').PropType<import('./types').DescriptionSchema[]>;
|
|
2392
|
+
default: () => never[];
|
|
2393
|
+
};
|
|
2394
|
+
data: {
|
|
2395
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
2396
|
+
default: () => {};
|
|
2397
|
+
};
|
|
2398
|
+
emptyText: {
|
|
2399
|
+
type: import('vue').PropType<string>;
|
|
2400
|
+
default: string;
|
|
2401
|
+
};
|
|
2402
|
+
useCollapse: {
|
|
2403
|
+
type: import('vue').PropType<boolean>;
|
|
2404
|
+
default: boolean;
|
|
2405
|
+
};
|
|
2406
|
+
collapseOptions: {
|
|
2407
|
+
type: import('vue').PropType<{
|
|
2408
|
+
canExpand?: boolean;
|
|
2409
|
+
defaultExpand?: boolean;
|
|
2410
|
+
expandButtonText?: string;
|
|
2411
|
+
collapseButtonText?: string;
|
|
2412
|
+
helpMessage?: string | string[];
|
|
2413
|
+
visibleRows?: number;
|
|
2414
|
+
}>;
|
|
2415
|
+
default: () => {
|
|
2416
|
+
canExpand: boolean;
|
|
2417
|
+
defaultExpand: boolean;
|
|
2418
|
+
expandButtonText: string;
|
|
2419
|
+
collapseButtonText: string;
|
|
2420
|
+
visibleRows: number;
|
|
2421
|
+
};
|
|
2422
|
+
};
|
|
2423
|
+
}>>, {
|
|
2424
|
+
setProps: (props: Partial<import('./types').DescriptionProps>) => Promise<void>;
|
|
2425
|
+
setData: (data: Record<string, unknown>) => Promise<void>;
|
|
2426
|
+
getData: () => Record<string, unknown>;
|
|
2427
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2428
|
+
register: (action: import('./types').DescriptionActionType) => void;
|
|
2429
|
+
}, string, {
|
|
2430
|
+
size: "medium" | "small";
|
|
2431
|
+
bordered: boolean;
|
|
2432
|
+
column: import('./types').DescriptionColumn;
|
|
2433
|
+
schema: import('./types').DescriptionSchema[];
|
|
2434
|
+
data: Record<string, unknown>;
|
|
2435
|
+
emptyText: string;
|
|
2436
|
+
useCollapse: boolean;
|
|
2437
|
+
collapseOptions: {
|
|
2438
|
+
canExpand?: boolean;
|
|
2439
|
+
defaultExpand?: boolean;
|
|
2440
|
+
expandButtonText?: string;
|
|
2441
|
+
collapseButtonText?: string;
|
|
2442
|
+
helpMessage?: string | string[];
|
|
2443
|
+
visibleRows?: number;
|
|
2444
|
+
};
|
|
2445
|
+
}> & {
|
|
2446
|
+
props: {
|
|
2447
|
+
title: {
|
|
2448
|
+
type: import('vue').PropType<string>;
|
|
2449
|
+
};
|
|
2450
|
+
helpMessage: {
|
|
2451
|
+
type: import('vue').PropType<string | string[]>;
|
|
2452
|
+
};
|
|
2453
|
+
size: {
|
|
2454
|
+
type: import('vue').PropType<"medium" | "small">;
|
|
2455
|
+
default: string;
|
|
2456
|
+
};
|
|
2457
|
+
bordered: {
|
|
2458
|
+
type: import('vue').PropType<boolean>;
|
|
2459
|
+
default: boolean;
|
|
2460
|
+
};
|
|
2461
|
+
column: {
|
|
2462
|
+
type: import('vue').PropType<import('./types').DescriptionColumn>;
|
|
2463
|
+
default: () => {
|
|
2464
|
+
xxl: number;
|
|
2465
|
+
xl: number;
|
|
2466
|
+
lg: number;
|
|
2467
|
+
md: number;
|
|
2468
|
+
sm: number;
|
|
2469
|
+
xs: number;
|
|
2470
|
+
};
|
|
2471
|
+
};
|
|
2472
|
+
schema: {
|
|
2473
|
+
type: import('vue').PropType<import('./types').DescriptionSchema[]>;
|
|
2474
|
+
default: () => never[];
|
|
2475
|
+
};
|
|
2476
|
+
data: {
|
|
2477
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
2478
|
+
default: () => {};
|
|
2479
|
+
};
|
|
2480
|
+
emptyText: {
|
|
2481
|
+
type: import('vue').PropType<string>;
|
|
2482
|
+
default: string;
|
|
2483
|
+
};
|
|
2484
|
+
useCollapse: {
|
|
2485
|
+
type: import('vue').PropType<boolean>;
|
|
2486
|
+
default: boolean;
|
|
2487
|
+
};
|
|
2488
|
+
collapseOptions: {
|
|
2489
|
+
type: import('vue').PropType<{
|
|
2490
|
+
canExpand?: boolean;
|
|
2491
|
+
defaultExpand?: boolean;
|
|
2492
|
+
expandButtonText?: string;
|
|
2493
|
+
collapseButtonText?: string;
|
|
2494
|
+
helpMessage?: string | string[];
|
|
2495
|
+
visibleRows?: number;
|
|
2496
|
+
}>;
|
|
2497
|
+
default: () => {
|
|
2498
|
+
canExpand: boolean;
|
|
2499
|
+
defaultExpand: boolean;
|
|
2500
|
+
expandButtonText: string;
|
|
2501
|
+
collapseButtonText: string;
|
|
2502
|
+
visibleRows: number;
|
|
2503
|
+
};
|
|
2504
|
+
};
|
|
2505
|
+
};
|
|
2506
|
+
} & (new () => {
|
|
2507
|
+
$scopedSlots: Partial<Record<string, (_: {
|
|
2508
|
+
value: unknown;
|
|
2509
|
+
record: Record<string, unknown>;
|
|
2510
|
+
schema: import('./types').DescriptionSchema & {
|
|
2511
|
+
_span: number;
|
|
2512
|
+
};
|
|
2513
|
+
}) => any>>;
|
|
2514
|
+
});
|
|
2102
2515
|
TableAction: import('vue').DefineComponent<{
|
|
2103
2516
|
actions: {
|
|
2104
2517
|
type: import('vue').PropType<import('./ProTable').TableActionItem[]>;
|