@aspire-ui/element-component-pro 1.0.4 → 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 +67 -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 +4 -1
- package/dist/ProForm/ProFormItem.vue.d.ts +2 -0
- package/dist/ProTable/ProTable.vue.d.ts +3 -3
- package/dist/element-component-pro.es.js +756 -570
- 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 +603 -170
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +61 -0
- package/package.json +3 -2
- package/src/ProDescriptions/ProDescriptions.vue +437 -0
- package/src/ProDescriptions/index.ts +5 -0
- package/src/ProDescriptions/useDescription.ts +52 -0
- package/src/ProForm/ProForm.vue +62 -17
- package/src/ProForm/ProFormItem.vue +2 -1
- package/src/index.ts +6 -0
- package/src/types/index.ts +65 -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,25 +52,15 @@ 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
|
-
|
|
50
|
-
type: import('vue').PropType<
|
|
51
|
-
default:
|
|
61
|
+
immediate: {
|
|
62
|
+
type: import('vue').PropType<boolean>;
|
|
63
|
+
default: boolean;
|
|
52
64
|
};
|
|
53
65
|
rowSelection: {
|
|
54
66
|
type: import('vue').PropType<{
|
|
@@ -76,10 +88,6 @@ declare const _default: {
|
|
|
76
88
|
titleHelpMessage: {
|
|
77
89
|
type: import('vue').PropType<string | string[]>;
|
|
78
90
|
};
|
|
79
|
-
bordered: {
|
|
80
|
-
type: import('vue').PropType<boolean>;
|
|
81
|
-
default: boolean;
|
|
82
|
-
};
|
|
83
91
|
striped: {
|
|
84
92
|
type: import('vue').PropType<boolean>;
|
|
85
93
|
default: boolean;
|
|
@@ -146,10 +154,6 @@ declare const _default: {
|
|
|
146
154
|
afterFetch: {
|
|
147
155
|
type: import('vue').PropType<(data: unknown) => unknown>;
|
|
148
156
|
};
|
|
149
|
-
immediate: {
|
|
150
|
-
type: import('vue').PropType<boolean>;
|
|
151
|
-
default: boolean;
|
|
152
|
-
};
|
|
153
157
|
searchInfo: {
|
|
154
158
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
155
159
|
};
|
|
@@ -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,25 +222,15 @@ 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
|
-
|
|
220
|
-
type: import('vue').PropType<
|
|
221
|
-
default:
|
|
231
|
+
immediate: {
|
|
232
|
+
type: import('vue').PropType<boolean>;
|
|
233
|
+
default: boolean;
|
|
222
234
|
};
|
|
223
235
|
rowSelection: {
|
|
224
236
|
type: import('vue').PropType<{
|
|
@@ -246,10 +258,6 @@ declare const _default: {
|
|
|
246
258
|
titleHelpMessage: {
|
|
247
259
|
type: import('vue').PropType<string | string[]>;
|
|
248
260
|
};
|
|
249
|
-
bordered: {
|
|
250
|
-
type: import('vue').PropType<boolean>;
|
|
251
|
-
default: boolean;
|
|
252
|
-
};
|
|
253
261
|
striped: {
|
|
254
262
|
type: import('vue').PropType<boolean>;
|
|
255
263
|
default: boolean;
|
|
@@ -316,10 +324,6 @@ declare const _default: {
|
|
|
316
324
|
afterFetch: {
|
|
317
325
|
type: import('vue').PropType<(data: unknown) => unknown>;
|
|
318
326
|
};
|
|
319
|
-
immediate: {
|
|
320
|
-
type: import('vue').PropType<boolean>;
|
|
321
|
-
default: boolean;
|
|
322
|
-
};
|
|
323
327
|
searchInfo: {
|
|
324
328
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
325
329
|
};
|
|
@@ -374,10 +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";
|
|
379
|
-
rowKey: string;
|
|
380
382
|
bordered: boolean;
|
|
383
|
+
loading: boolean;
|
|
384
|
+
immediate: boolean;
|
|
385
|
+
rowKey: string;
|
|
381
386
|
striped: boolean;
|
|
382
387
|
ellipsis: boolean;
|
|
383
388
|
showIndexColumn: boolean;
|
|
@@ -395,8 +400,25 @@ declare const _default: {
|
|
|
395
400
|
fullScreen?: boolean;
|
|
396
401
|
};
|
|
397
402
|
fetchSetting: import('./ProTable').FetchSetting;
|
|
398
|
-
immediate: boolean;
|
|
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,25 +433,15 @@ 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
|
-
|
|
431
|
-
type: import('vue').PropType<
|
|
432
|
-
default:
|
|
442
|
+
immediate: {
|
|
443
|
+
type: import('vue').PropType<boolean>;
|
|
444
|
+
default: boolean;
|
|
433
445
|
};
|
|
434
446
|
rowSelection: {
|
|
435
447
|
type: import('vue').PropType<{
|
|
@@ -457,10 +469,6 @@ declare const _default: {
|
|
|
457
469
|
titleHelpMessage: {
|
|
458
470
|
type: import('vue').PropType<string | string[]>;
|
|
459
471
|
};
|
|
460
|
-
bordered: {
|
|
461
|
-
type: import('vue').PropType<boolean>;
|
|
462
|
-
default: boolean;
|
|
463
|
-
};
|
|
464
472
|
striped: {
|
|
465
473
|
type: import('vue').PropType<boolean>;
|
|
466
474
|
default: boolean;
|
|
@@ -527,10 +535,6 @@ declare const _default: {
|
|
|
527
535
|
afterFetch: {
|
|
528
536
|
type: import('vue').PropType<(data: unknown) => unknown>;
|
|
529
537
|
};
|
|
530
|
-
immediate: {
|
|
531
|
-
type: import('vue').PropType<boolean>;
|
|
532
|
-
default: boolean;
|
|
533
|
-
};
|
|
534
538
|
searchInfo: {
|
|
535
539
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
536
540
|
};
|
|
@@ -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,25 +637,15 @@ 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
|
-
|
|
635
|
-
type: import('vue').PropType<
|
|
636
|
-
default:
|
|
646
|
+
immediate: {
|
|
647
|
+
type: import('vue').PropType<boolean>;
|
|
648
|
+
default: boolean;
|
|
637
649
|
};
|
|
638
650
|
rowSelection: {
|
|
639
651
|
type: import('vue').PropType<{
|
|
@@ -661,10 +673,6 @@ declare const _default: {
|
|
|
661
673
|
titleHelpMessage: {
|
|
662
674
|
type: import('vue').PropType<string | string[]>;
|
|
663
675
|
};
|
|
664
|
-
bordered: {
|
|
665
|
-
type: import('vue').PropType<boolean>;
|
|
666
|
-
default: boolean;
|
|
667
|
-
};
|
|
668
676
|
striped: {
|
|
669
677
|
type: import('vue').PropType<boolean>;
|
|
670
678
|
default: boolean;
|
|
@@ -731,10 +739,6 @@ declare const _default: {
|
|
|
731
739
|
afterFetch: {
|
|
732
740
|
type: import('vue').PropType<(data: unknown) => unknown>;
|
|
733
741
|
};
|
|
734
|
-
immediate: {
|
|
735
|
-
type: import('vue').PropType<boolean>;
|
|
736
|
-
default: boolean;
|
|
737
|
-
};
|
|
738
742
|
searchInfo: {
|
|
739
743
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
740
744
|
};
|
|
@@ -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,25 +807,15 @@ 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
|
-
|
|
805
|
-
type: import('vue').PropType<
|
|
806
|
-
default:
|
|
816
|
+
immediate: {
|
|
817
|
+
type: import('vue').PropType<boolean>;
|
|
818
|
+
default: boolean;
|
|
807
819
|
};
|
|
808
820
|
rowSelection: {
|
|
809
821
|
type: import('vue').PropType<{
|
|
@@ -831,10 +843,6 @@ declare const _default: {
|
|
|
831
843
|
titleHelpMessage: {
|
|
832
844
|
type: import('vue').PropType<string | string[]>;
|
|
833
845
|
};
|
|
834
|
-
bordered: {
|
|
835
|
-
type: import('vue').PropType<boolean>;
|
|
836
|
-
default: boolean;
|
|
837
|
-
};
|
|
838
846
|
striped: {
|
|
839
847
|
type: import('vue').PropType<boolean>;
|
|
840
848
|
default: boolean;
|
|
@@ -901,10 +909,6 @@ declare const _default: {
|
|
|
901
909
|
afterFetch: {
|
|
902
910
|
type: import('vue').PropType<(data: unknown) => unknown>;
|
|
903
911
|
};
|
|
904
|
-
immediate: {
|
|
905
|
-
type: import('vue').PropType<boolean>;
|
|
906
|
-
default: boolean;
|
|
907
|
-
};
|
|
908
912
|
searchInfo: {
|
|
909
913
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
910
914
|
};
|
|
@@ -993,10 +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";
|
|
998
|
-
rowKey: string;
|
|
999
1001
|
bordered: boolean;
|
|
1002
|
+
loading: boolean;
|
|
1003
|
+
immediate: boolean;
|
|
1004
|
+
rowKey: string;
|
|
1000
1005
|
striped: boolean;
|
|
1001
1006
|
ellipsis: boolean;
|
|
1002
1007
|
showIndexColumn: boolean;
|
|
@@ -1014,9 +1019,26 @@ declare const _default: {
|
|
|
1014
1019
|
fullScreen?: boolean;
|
|
1015
1020
|
};
|
|
1016
1021
|
fetchSetting: import('./ProTable').FetchSetting;
|
|
1017
|
-
immediate: boolean;
|
|
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,25 +1053,15 @@ 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
|
-
|
|
1051
|
-
type: import('vue').PropType<
|
|
1052
|
-
default:
|
|
1062
|
+
immediate: {
|
|
1063
|
+
type: import('vue').PropType<boolean>;
|
|
1064
|
+
default: boolean;
|
|
1053
1065
|
};
|
|
1054
1066
|
rowSelection: {
|
|
1055
1067
|
type: import('vue').PropType<{
|
|
@@ -1077,10 +1089,6 @@ declare const _default: {
|
|
|
1077
1089
|
titleHelpMessage: {
|
|
1078
1090
|
type: import('vue').PropType<string | string[]>;
|
|
1079
1091
|
};
|
|
1080
|
-
bordered: {
|
|
1081
|
-
type: import('vue').PropType<boolean>;
|
|
1082
|
-
default: boolean;
|
|
1083
|
-
};
|
|
1084
1092
|
striped: {
|
|
1085
1093
|
type: import('vue').PropType<boolean>;
|
|
1086
1094
|
default: boolean;
|
|
@@ -1147,10 +1155,6 @@ declare const _default: {
|
|
|
1147
1155
|
afterFetch: {
|
|
1148
1156
|
type: import('vue').PropType<(data: unknown) => unknown>;
|
|
1149
1157
|
};
|
|
1150
|
-
immediate: {
|
|
1151
|
-
type: import('vue').PropType<boolean>;
|
|
1152
|
-
default: boolean;
|
|
1153
|
-
};
|
|
1154
1158
|
searchInfo: {
|
|
1155
1159
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1156
1160
|
};
|
|
@@ -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;
|
|
@@ -1354,6 +1362,9 @@ declare const _default: {
|
|
|
1354
1362
|
schemas: {
|
|
1355
1363
|
type: import('vue').PropType<import('./types').ProFormSchema[]>;
|
|
1356
1364
|
};
|
|
1365
|
+
modelValue: {
|
|
1366
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
1367
|
+
};
|
|
1357
1368
|
initialValues: {
|
|
1358
1369
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1359
1370
|
};
|
|
@@ -1369,10 +1380,6 @@ declare const _default: {
|
|
|
1369
1380
|
type: import('vue').PropType<number>;
|
|
1370
1381
|
default: number;
|
|
1371
1382
|
};
|
|
1372
|
-
size: {
|
|
1373
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
1374
|
-
default: string;
|
|
1375
|
-
};
|
|
1376
1383
|
baseColProps: {
|
|
1377
1384
|
type: import('vue').PropType<import('./types').ColEx>;
|
|
1378
1385
|
default: () => {
|
|
@@ -1412,12 +1419,16 @@ declare const _default: {
|
|
|
1412
1419
|
type: import('vue').PropType<import('./types').FormListeners>;
|
|
1413
1420
|
};
|
|
1414
1421
|
}>>, Readonly<import('vue').ExtractPropTypes<{
|
|
1415
|
-
|
|
1416
|
-
type: import('vue').PropType<
|
|
1422
|
+
size: {
|
|
1423
|
+
type: import('vue').PropType<"medium" | "small" | "large">;
|
|
1424
|
+
default: string;
|
|
1417
1425
|
};
|
|
1418
1426
|
components: {
|
|
1419
1427
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1420
1428
|
};
|
|
1429
|
+
disabled: {
|
|
1430
|
+
type: import('vue').PropType<boolean>;
|
|
1431
|
+
};
|
|
1421
1432
|
showActionButtonGroup: {
|
|
1422
1433
|
type: import('vue').PropType<boolean>;
|
|
1423
1434
|
default: boolean;
|
|
@@ -1463,6 +1474,9 @@ declare const _default: {
|
|
|
1463
1474
|
schemas: {
|
|
1464
1475
|
type: import('vue').PropType<import('./types').ProFormSchema[]>;
|
|
1465
1476
|
};
|
|
1477
|
+
modelValue: {
|
|
1478
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
1479
|
+
};
|
|
1466
1480
|
initialValues: {
|
|
1467
1481
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1468
1482
|
};
|
|
@@ -1478,10 +1492,6 @@ declare const _default: {
|
|
|
1478
1492
|
type: import('vue').PropType<number>;
|
|
1479
1493
|
default: number;
|
|
1480
1494
|
};
|
|
1481
|
-
size: {
|
|
1482
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
1483
|
-
default: string;
|
|
1484
|
-
};
|
|
1485
1495
|
baseColProps: {
|
|
1486
1496
|
type: import('vue').PropType<import('./types').ColEx>;
|
|
1487
1497
|
default: () => {
|
|
@@ -1524,7 +1534,9 @@ declare const _default: {
|
|
|
1524
1534
|
submit: (values: Record<string, unknown>) => void;
|
|
1525
1535
|
reset: () => void;
|
|
1526
1536
|
register: (formAction: import('./types').FormActionType) => void;
|
|
1537
|
+
"update:modelValue": (values: Record<string, unknown>) => void;
|
|
1527
1538
|
}, {
|
|
1539
|
+
size: "medium" | "small" | "large";
|
|
1528
1540
|
showActionButtonGroup: boolean;
|
|
1529
1541
|
showSubmitButton: boolean;
|
|
1530
1542
|
showResetButton: boolean;
|
|
@@ -1537,19 +1549,22 @@ declare const _default: {
|
|
|
1537
1549
|
labelWidth: string;
|
|
1538
1550
|
labelPosition: "left" | "right" | "top";
|
|
1539
1551
|
gutter: number;
|
|
1540
|
-
size: "medium" | "small" | "large";
|
|
1541
1552
|
baseColProps: import('./types').ColEx;
|
|
1542
1553
|
autoSetPlaceholder: boolean;
|
|
1543
1554
|
autoAdvancedLine: number;
|
|
1544
1555
|
alwaysShowLines: number;
|
|
1545
1556
|
submitOnReset: boolean;
|
|
1546
1557
|
}, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
|
|
1547
|
-
|
|
1548
|
-
type: import('vue').PropType<
|
|
1558
|
+
size: {
|
|
1559
|
+
type: import('vue').PropType<"medium" | "small" | "large">;
|
|
1560
|
+
default: string;
|
|
1549
1561
|
};
|
|
1550
1562
|
components: {
|
|
1551
1563
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1552
1564
|
};
|
|
1565
|
+
disabled: {
|
|
1566
|
+
type: import('vue').PropType<boolean>;
|
|
1567
|
+
};
|
|
1553
1568
|
showActionButtonGroup: {
|
|
1554
1569
|
type: import('vue').PropType<boolean>;
|
|
1555
1570
|
default: boolean;
|
|
@@ -1595,6 +1610,9 @@ declare const _default: {
|
|
|
1595
1610
|
schemas: {
|
|
1596
1611
|
type: import('vue').PropType<import('./types').ProFormSchema[]>;
|
|
1597
1612
|
};
|
|
1613
|
+
modelValue: {
|
|
1614
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
1615
|
+
};
|
|
1598
1616
|
initialValues: {
|
|
1599
1617
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1600
1618
|
};
|
|
@@ -1610,10 +1628,6 @@ declare const _default: {
|
|
|
1610
1628
|
type: import('vue').PropType<number>;
|
|
1611
1629
|
default: number;
|
|
1612
1630
|
};
|
|
1613
|
-
size: {
|
|
1614
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
1615
|
-
default: string;
|
|
1616
|
-
};
|
|
1617
1631
|
baseColProps: {
|
|
1618
1632
|
type: import('vue').PropType<import('./types').ColEx>;
|
|
1619
1633
|
default: () => {
|
|
@@ -1666,12 +1680,16 @@ declare const _default: {
|
|
|
1666
1680
|
removeSchemaByField: (field: string | string[]) => Promise<void>;
|
|
1667
1681
|
setProps: (props: Partial<import('./types').ProFormProps>) => Promise<void>;
|
|
1668
1682
|
}> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
|
|
1669
|
-
|
|
1670
|
-
type: import('vue').PropType<
|
|
1683
|
+
size: {
|
|
1684
|
+
type: import('vue').PropType<"medium" | "small" | "large">;
|
|
1685
|
+
default: string;
|
|
1671
1686
|
};
|
|
1672
1687
|
components: {
|
|
1673
1688
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1674
1689
|
};
|
|
1690
|
+
disabled: {
|
|
1691
|
+
type: import('vue').PropType<boolean>;
|
|
1692
|
+
};
|
|
1675
1693
|
showActionButtonGroup: {
|
|
1676
1694
|
type: import('vue').PropType<boolean>;
|
|
1677
1695
|
default: boolean;
|
|
@@ -1717,6 +1735,9 @@ declare const _default: {
|
|
|
1717
1735
|
schemas: {
|
|
1718
1736
|
type: import('vue').PropType<import('./types').ProFormSchema[]>;
|
|
1719
1737
|
};
|
|
1738
|
+
modelValue: {
|
|
1739
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
1740
|
+
};
|
|
1720
1741
|
initialValues: {
|
|
1721
1742
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1722
1743
|
};
|
|
@@ -1732,10 +1753,6 @@ declare const _default: {
|
|
|
1732
1753
|
type: import('vue').PropType<number>;
|
|
1733
1754
|
default: number;
|
|
1734
1755
|
};
|
|
1735
|
-
size: {
|
|
1736
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
1737
|
-
default: string;
|
|
1738
|
-
};
|
|
1739
1756
|
baseColProps: {
|
|
1740
1757
|
type: import('vue').PropType<import('./types').ColEx>;
|
|
1741
1758
|
default: () => {
|
|
@@ -1775,12 +1792,16 @@ declare const _default: {
|
|
|
1775
1792
|
type: import('vue').PropType<import('./types').FormListeners>;
|
|
1776
1793
|
};
|
|
1777
1794
|
}>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
1778
|
-
|
|
1779
|
-
type: import('vue').PropType<
|
|
1795
|
+
size: {
|
|
1796
|
+
type: import('vue').PropType<"medium" | "small" | "large">;
|
|
1797
|
+
default: string;
|
|
1780
1798
|
};
|
|
1781
1799
|
components: {
|
|
1782
1800
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1783
1801
|
};
|
|
1802
|
+
disabled: {
|
|
1803
|
+
type: import('vue').PropType<boolean>;
|
|
1804
|
+
};
|
|
1784
1805
|
showActionButtonGroup: {
|
|
1785
1806
|
type: import('vue').PropType<boolean>;
|
|
1786
1807
|
default: boolean;
|
|
@@ -1826,6 +1847,9 @@ declare const _default: {
|
|
|
1826
1847
|
schemas: {
|
|
1827
1848
|
type: import('vue').PropType<import('./types').ProFormSchema[]>;
|
|
1828
1849
|
};
|
|
1850
|
+
modelValue: {
|
|
1851
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
1852
|
+
};
|
|
1829
1853
|
initialValues: {
|
|
1830
1854
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1831
1855
|
};
|
|
@@ -1841,10 +1865,6 @@ declare const _default: {
|
|
|
1841
1865
|
type: import('vue').PropType<number>;
|
|
1842
1866
|
default: number;
|
|
1843
1867
|
};
|
|
1844
|
-
size: {
|
|
1845
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
1846
|
-
default: string;
|
|
1847
|
-
};
|
|
1848
1868
|
baseColProps: {
|
|
1849
1869
|
type: import('vue').PropType<import('./types').ColEx>;
|
|
1850
1870
|
default: () => {
|
|
@@ -1900,7 +1920,9 @@ declare const _default: {
|
|
|
1900
1920
|
submit: (values: Record<string, unknown>) => void;
|
|
1901
1921
|
reset: () => void;
|
|
1902
1922
|
register: (formAction: import('./types').FormActionType) => void;
|
|
1923
|
+
"update:modelValue": (values: Record<string, unknown>) => void;
|
|
1903
1924
|
}, string, {
|
|
1925
|
+
size: "medium" | "small" | "large";
|
|
1904
1926
|
showActionButtonGroup: boolean;
|
|
1905
1927
|
showSubmitButton: boolean;
|
|
1906
1928
|
showResetButton: boolean;
|
|
@@ -1913,7 +1935,6 @@ declare const _default: {
|
|
|
1913
1935
|
labelWidth: string;
|
|
1914
1936
|
labelPosition: "left" | "right" | "top";
|
|
1915
1937
|
gutter: number;
|
|
1916
|
-
size: "medium" | "small" | "large";
|
|
1917
1938
|
baseColProps: import('./types').ColEx;
|
|
1918
1939
|
autoSetPlaceholder: boolean;
|
|
1919
1940
|
autoAdvancedLine: number;
|
|
@@ -1921,12 +1942,16 @@ declare const _default: {
|
|
|
1921
1942
|
submitOnReset: boolean;
|
|
1922
1943
|
}> & {
|
|
1923
1944
|
props: {
|
|
1924
|
-
|
|
1925
|
-
type: import('vue').PropType<
|
|
1945
|
+
size: {
|
|
1946
|
+
type: import('vue').PropType<"medium" | "small" | "large">;
|
|
1947
|
+
default: string;
|
|
1926
1948
|
};
|
|
1927
1949
|
components: {
|
|
1928
1950
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1929
1951
|
};
|
|
1952
|
+
disabled: {
|
|
1953
|
+
type: import('vue').PropType<boolean>;
|
|
1954
|
+
};
|
|
1930
1955
|
showActionButtonGroup: {
|
|
1931
1956
|
type: import('vue').PropType<boolean>;
|
|
1932
1957
|
default: boolean;
|
|
@@ -1972,6 +1997,9 @@ declare const _default: {
|
|
|
1972
1997
|
schemas: {
|
|
1973
1998
|
type: import('vue').PropType<import('./types').ProFormSchema[]>;
|
|
1974
1999
|
};
|
|
2000
|
+
modelValue: {
|
|
2001
|
+
type: import('vue').PropType<Record<string, unknown>>;
|
|
2002
|
+
};
|
|
1975
2003
|
initialValues: {
|
|
1976
2004
|
type: import('vue').PropType<Record<string, unknown>>;
|
|
1977
2005
|
};
|
|
@@ -1987,10 +2015,6 @@ declare const _default: {
|
|
|
1987
2015
|
type: import('vue').PropType<number>;
|
|
1988
2016
|
default: number;
|
|
1989
2017
|
};
|
|
1990
|
-
size: {
|
|
1991
|
-
type: import('vue').PropType<"small" | "medium" | "large">;
|
|
1992
|
-
default: string;
|
|
1993
|
-
};
|
|
1994
2018
|
baseColProps: {
|
|
1995
2019
|
type: import('vue').PropType<import('./types').ColEx>;
|
|
1996
2020
|
default: () => {
|
|
@@ -2079,6 +2103,415 @@ declare const _default: {
|
|
|
2079
2103
|
formFooter?(_: {}): any;
|
|
2080
2104
|
};
|
|
2081
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
|
+
});
|
|
2082
2515
|
TableAction: import('vue').DefineComponent<{
|
|
2083
2516
|
actions: {
|
|
2084
2517
|
type: import('vue').PropType<import('./ProTable').TableActionItem[]>;
|