@aspire-ui/element-component-pro 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,13 +1,1314 @@
1
1
  import { VueConstructor } from 'vue';
2
+ import { default as ProTable, TableAction } from './ProTable';
2
3
  import { default as ProForm, ProFormItem, FormActions } from './ProForm';
3
4
  import { useForm } from './ProForm/useForm';
5
+ import { useProTable } from './ProTable/useProTable';
6
+ import { useComponentSetting } from './useComponentSetting';
4
7
 
5
8
  export { ProForm, ProFormItem, FormActions, useForm };
9
+ export { ProTable, useProTable, TableAction };
10
+ export { useComponentSetting };
11
+ export type { UseComponentSettingReturn } from './useComponentSetting';
12
+ export type { UseProTableReturn, UseProTablePropsReactive } from './ProTable/useProTable';
13
+ export * from './ProTable/types';
6
14
  export * from './types';
7
15
  export declare function install(Vue: VueConstructor): void;
8
16
  declare const _default: {
9
17
  install: typeof install;
18
+ ProTable: import('vue/types/v3-component-public-instance').ComponentPublicInstanceConstructor<import('vue/types/v3-component-public-instance').Vue3Instance<{}, Readonly<import('vue').ExtractPropTypes<{
19
+ api: {
20
+ type: import('vue').PropType<(params: Record<string, unknown>) => Promise<{
21
+ list?: unknown[];
22
+ items?: unknown[];
23
+ total?: number;
24
+ }>>;
25
+ };
26
+ lazy: {
27
+ type: import('vue').PropType<boolean>;
28
+ };
29
+ loading: {
30
+ type: import('vue').PropType<boolean>;
31
+ default: boolean;
32
+ };
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
+ treeProps: {
44
+ type: import('vue').PropType<{
45
+ hasChildren?: string;
46
+ children?: string;
47
+ }>;
48
+ };
49
+ size: {
50
+ type: import('vue').PropType<"small" | "medium" | "large">;
51
+ default: string;
52
+ };
53
+ rowSelection: {
54
+ type: import('vue').PropType<{
55
+ type?: "checkbox" | "radio";
56
+ width?: number;
57
+ fixed?: "left" | "right";
58
+ getCheckboxProps?: (r: Record<string, unknown>) => {
59
+ disabled?: boolean;
60
+ };
61
+ getRadioProps?: (r: Record<string, unknown>) => {
62
+ disabled?: boolean;
63
+ };
64
+ }>;
65
+ };
66
+ columns: {
67
+ type: import('vue').PropType<import('./ProTable').ProColumn[]>;
68
+ };
69
+ dataSource: {
70
+ type: import('vue').PropType<Record<string, unknown>[]>;
71
+ };
72
+ rowKey: {
73
+ type: import('vue').PropType<string>;
74
+ default: string;
75
+ };
76
+ titleHelpMessage: {
77
+ type: import('vue').PropType<string | string[]>;
78
+ };
79
+ bordered: {
80
+ type: import('vue').PropType<boolean>;
81
+ default: boolean;
82
+ };
83
+ striped: {
84
+ type: import('vue').PropType<boolean>;
85
+ default: boolean;
86
+ };
87
+ maxHeight: {
88
+ type: import('vue').PropType<string | number>;
89
+ };
90
+ height: {
91
+ type: import('vue').PropType<string | number>;
92
+ };
93
+ ellipsis: {
94
+ type: import('vue').PropType<boolean>;
95
+ default: boolean;
96
+ };
97
+ showIndexColumn: {
98
+ type: import('vue').PropType<boolean>;
99
+ default: boolean;
100
+ };
101
+ indexColumnProps: {
102
+ type: import('vue').PropType<Partial<import('./ProTable').ProColumn>>;
103
+ };
104
+ actionColumn: {
105
+ type: import('vue').PropType<Partial<import('./ProTable').ProColumn>>;
106
+ };
107
+ clearSelectOnPageChange: {
108
+ type: import('vue').PropType<boolean>;
109
+ default: boolean;
110
+ };
111
+ pagination: {
112
+ type: import('vue').PropType<false | Record<string, unknown> | {
113
+ pageSize?: number;
114
+ pageSizes?: number[];
115
+ layout?: string;
116
+ props?: Record<string, unknown>;
117
+ }>;
118
+ default: () => {
119
+ pageSize: number;
120
+ pageSizes: number[];
121
+ };
122
+ };
123
+ tableSetting: {
124
+ type: import('vue').PropType<{
125
+ redo?: boolean;
126
+ size?: boolean;
127
+ setting?: boolean;
128
+ fullScreen?: boolean;
129
+ }>;
130
+ default: () => {
131
+ redo: boolean;
132
+ };
133
+ };
134
+ fetchSetting: {
135
+ type: import('vue').PropType<import('./ProTable').FetchSetting>;
136
+ default: () => {
137
+ pageField: string;
138
+ sizeField: string;
139
+ listField: string;
140
+ totalField: string;
141
+ };
142
+ };
143
+ beforeFetch: {
144
+ type: import('vue').PropType<(params: Record<string, unknown>) => Record<string, unknown>>;
145
+ };
146
+ afterFetch: {
147
+ type: import('vue').PropType<(data: unknown) => unknown>;
148
+ };
149
+ immediate: {
150
+ type: import('vue').PropType<boolean>;
151
+ default: boolean;
152
+ };
153
+ searchInfo: {
154
+ type: import('vue').PropType<Record<string, unknown>>;
155
+ };
156
+ defaultSort: {
157
+ type: import('vue').PropType<{
158
+ prop: string;
159
+ order: "ascending" | "descending";
160
+ }>;
161
+ };
162
+ tableProps: {
163
+ type: import('vue').PropType<Record<string, unknown>>;
164
+ };
165
+ rowClassName: {
166
+ type: import('vue').PropType<string | ((params: {
167
+ row: Record<string, unknown>;
168
+ rowIndex: number;
169
+ }) => string)>;
170
+ };
171
+ spanMethod: {
172
+ type: import('vue').PropType<(params: {
173
+ row: Record<string, unknown>;
174
+ column: Record<string, unknown>;
175
+ rowIndex: number;
176
+ columnIndex: number;
177
+ }) => [number, number] | {
178
+ rowspan: number;
179
+ colspan: number;
180
+ }>;
181
+ };
182
+ defaultExpandAll: {
183
+ type: import('vue').PropType<boolean>;
184
+ };
185
+ expandRowKeys: {
186
+ type: import('vue').PropType<(string | number)[]>;
187
+ };
188
+ }>>, Readonly<import('vue').ExtractPropTypes<{
189
+ api: {
190
+ type: import('vue').PropType<(params: Record<string, unknown>) => Promise<{
191
+ list?: unknown[];
192
+ items?: unknown[];
193
+ total?: number;
194
+ }>>;
195
+ };
196
+ lazy: {
197
+ type: import('vue').PropType<boolean>;
198
+ };
199
+ loading: {
200
+ type: import('vue').PropType<boolean>;
201
+ default: boolean;
202
+ };
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
+ treeProps: {
214
+ type: import('vue').PropType<{
215
+ hasChildren?: string;
216
+ children?: string;
217
+ }>;
218
+ };
219
+ size: {
220
+ type: import('vue').PropType<"small" | "medium" | "large">;
221
+ default: string;
222
+ };
223
+ rowSelection: {
224
+ type: import('vue').PropType<{
225
+ type?: "checkbox" | "radio";
226
+ width?: number;
227
+ fixed?: "left" | "right";
228
+ getCheckboxProps?: (r: Record<string, unknown>) => {
229
+ disabled?: boolean;
230
+ };
231
+ getRadioProps?: (r: Record<string, unknown>) => {
232
+ disabled?: boolean;
233
+ };
234
+ }>;
235
+ };
236
+ columns: {
237
+ type: import('vue').PropType<import('./ProTable').ProColumn[]>;
238
+ };
239
+ dataSource: {
240
+ type: import('vue').PropType<Record<string, unknown>[]>;
241
+ };
242
+ rowKey: {
243
+ type: import('vue').PropType<string>;
244
+ default: string;
245
+ };
246
+ titleHelpMessage: {
247
+ type: import('vue').PropType<string | string[]>;
248
+ };
249
+ bordered: {
250
+ type: import('vue').PropType<boolean>;
251
+ default: boolean;
252
+ };
253
+ striped: {
254
+ type: import('vue').PropType<boolean>;
255
+ default: boolean;
256
+ };
257
+ maxHeight: {
258
+ type: import('vue').PropType<string | number>;
259
+ };
260
+ height: {
261
+ type: import('vue').PropType<string | number>;
262
+ };
263
+ ellipsis: {
264
+ type: import('vue').PropType<boolean>;
265
+ default: boolean;
266
+ };
267
+ showIndexColumn: {
268
+ type: import('vue').PropType<boolean>;
269
+ default: boolean;
270
+ };
271
+ indexColumnProps: {
272
+ type: import('vue').PropType<Partial<import('./ProTable').ProColumn>>;
273
+ };
274
+ actionColumn: {
275
+ type: import('vue').PropType<Partial<import('./ProTable').ProColumn>>;
276
+ };
277
+ clearSelectOnPageChange: {
278
+ type: import('vue').PropType<boolean>;
279
+ default: boolean;
280
+ };
281
+ pagination: {
282
+ type: import('vue').PropType<false | Record<string, unknown> | {
283
+ pageSize?: number;
284
+ pageSizes?: number[];
285
+ layout?: string;
286
+ props?: Record<string, unknown>;
287
+ }>;
288
+ default: () => {
289
+ pageSize: number;
290
+ pageSizes: number[];
291
+ };
292
+ };
293
+ tableSetting: {
294
+ type: import('vue').PropType<{
295
+ redo?: boolean;
296
+ size?: boolean;
297
+ setting?: boolean;
298
+ fullScreen?: boolean;
299
+ }>;
300
+ default: () => {
301
+ redo: boolean;
302
+ };
303
+ };
304
+ fetchSetting: {
305
+ type: import('vue').PropType<import('./ProTable').FetchSetting>;
306
+ default: () => {
307
+ pageField: string;
308
+ sizeField: string;
309
+ listField: string;
310
+ totalField: string;
311
+ };
312
+ };
313
+ beforeFetch: {
314
+ type: import('vue').PropType<(params: Record<string, unknown>) => Record<string, unknown>>;
315
+ };
316
+ afterFetch: {
317
+ type: import('vue').PropType<(data: unknown) => unknown>;
318
+ };
319
+ immediate: {
320
+ type: import('vue').PropType<boolean>;
321
+ default: boolean;
322
+ };
323
+ searchInfo: {
324
+ type: import('vue').PropType<Record<string, unknown>>;
325
+ };
326
+ defaultSort: {
327
+ type: import('vue').PropType<{
328
+ prop: string;
329
+ order: "ascending" | "descending";
330
+ }>;
331
+ };
332
+ tableProps: {
333
+ type: import('vue').PropType<Record<string, unknown>>;
334
+ };
335
+ rowClassName: {
336
+ type: import('vue').PropType<string | ((params: {
337
+ row: Record<string, unknown>;
338
+ rowIndex: number;
339
+ }) => string)>;
340
+ };
341
+ spanMethod: {
342
+ type: import('vue').PropType<(params: {
343
+ row: Record<string, unknown>;
344
+ column: Record<string, unknown>;
345
+ rowIndex: number;
346
+ columnIndex: number;
347
+ }) => [number, number] | {
348
+ rowspan: number;
349
+ colspan: number;
350
+ }>;
351
+ };
352
+ defaultExpandAll: {
353
+ type: import('vue').PropType<boolean>;
354
+ };
355
+ expandRowKeys: {
356
+ type: import('vue').PropType<(string | number)[]>;
357
+ };
358
+ }>>, {
359
+ register: (action: import('./ProTable').TableActionType) => void;
360
+ "fetch-success": (data: {
361
+ items: unknown[];
362
+ total: number;
363
+ }) => void;
364
+ "fetch-error": (error: unknown) => void;
365
+ "selection-change": (data: {
366
+ keys: (string | number)[];
367
+ rows: Record<string, unknown>[];
368
+ }) => void;
369
+ "row-click": (record: Record<string, unknown>, event: Event) => void;
370
+ "row-dblclick": (record: Record<string, unknown>, event: Event) => void;
371
+ "sort-change": (sortInfo: {
372
+ prop: string;
373
+ order: string;
374
+ }) => void;
375
+ "expand-change": (row: Record<string, unknown>, expanded: boolean | Record<string, unknown>[]) => void;
376
+ }, {
377
+ loading: boolean;
378
+ size: "medium" | "small" | "large";
379
+ rowKey: string;
380
+ bordered: boolean;
381
+ striped: boolean;
382
+ ellipsis: boolean;
383
+ showIndexColumn: boolean;
384
+ clearSelectOnPageChange: boolean;
385
+ pagination: false | {
386
+ pageSize?: number;
387
+ pageSizes?: number[];
388
+ layout?: string;
389
+ props?: Record<string, unknown>;
390
+ } | Record<string, unknown>;
391
+ tableSetting: {
392
+ redo?: boolean;
393
+ size?: boolean;
394
+ setting?: boolean;
395
+ fullScreen?: boolean;
396
+ };
397
+ fetchSetting: import('./ProTable').FetchSetting;
398
+ immediate: boolean;
399
+ }, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
400
+ api: {
401
+ type: import('vue').PropType<(params: Record<string, unknown>) => Promise<{
402
+ list?: unknown[];
403
+ items?: unknown[];
404
+ total?: number;
405
+ }>>;
406
+ };
407
+ lazy: {
408
+ type: import('vue').PropType<boolean>;
409
+ };
410
+ loading: {
411
+ type: import('vue').PropType<boolean>;
412
+ default: boolean;
413
+ };
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
+ treeProps: {
425
+ type: import('vue').PropType<{
426
+ hasChildren?: string;
427
+ children?: string;
428
+ }>;
429
+ };
430
+ size: {
431
+ type: import('vue').PropType<"small" | "medium" | "large">;
432
+ default: string;
433
+ };
434
+ rowSelection: {
435
+ type: import('vue').PropType<{
436
+ type?: "checkbox" | "radio";
437
+ width?: number;
438
+ fixed?: "left" | "right";
439
+ getCheckboxProps?: (r: Record<string, unknown>) => {
440
+ disabled?: boolean;
441
+ };
442
+ getRadioProps?: (r: Record<string, unknown>) => {
443
+ disabled?: boolean;
444
+ };
445
+ }>;
446
+ };
447
+ columns: {
448
+ type: import('vue').PropType<import('./ProTable').ProColumn[]>;
449
+ };
450
+ dataSource: {
451
+ type: import('vue').PropType<Record<string, unknown>[]>;
452
+ };
453
+ rowKey: {
454
+ type: import('vue').PropType<string>;
455
+ default: string;
456
+ };
457
+ titleHelpMessage: {
458
+ type: import('vue').PropType<string | string[]>;
459
+ };
460
+ bordered: {
461
+ type: import('vue').PropType<boolean>;
462
+ default: boolean;
463
+ };
464
+ striped: {
465
+ type: import('vue').PropType<boolean>;
466
+ default: boolean;
467
+ };
468
+ maxHeight: {
469
+ type: import('vue').PropType<string | number>;
470
+ };
471
+ height: {
472
+ type: import('vue').PropType<string | number>;
473
+ };
474
+ ellipsis: {
475
+ type: import('vue').PropType<boolean>;
476
+ default: boolean;
477
+ };
478
+ showIndexColumn: {
479
+ type: import('vue').PropType<boolean>;
480
+ default: boolean;
481
+ };
482
+ indexColumnProps: {
483
+ type: import('vue').PropType<Partial<import('./ProTable').ProColumn>>;
484
+ };
485
+ actionColumn: {
486
+ type: import('vue').PropType<Partial<import('./ProTable').ProColumn>>;
487
+ };
488
+ clearSelectOnPageChange: {
489
+ type: import('vue').PropType<boolean>;
490
+ default: boolean;
491
+ };
492
+ pagination: {
493
+ type: import('vue').PropType<false | Record<string, unknown> | {
494
+ pageSize?: number;
495
+ pageSizes?: number[];
496
+ layout?: string;
497
+ props?: Record<string, unknown>;
498
+ }>;
499
+ default: () => {
500
+ pageSize: number;
501
+ pageSizes: number[];
502
+ };
503
+ };
504
+ tableSetting: {
505
+ type: import('vue').PropType<{
506
+ redo?: boolean;
507
+ size?: boolean;
508
+ setting?: boolean;
509
+ fullScreen?: boolean;
510
+ }>;
511
+ default: () => {
512
+ redo: boolean;
513
+ };
514
+ };
515
+ fetchSetting: {
516
+ type: import('vue').PropType<import('./ProTable').FetchSetting>;
517
+ default: () => {
518
+ pageField: string;
519
+ sizeField: string;
520
+ listField: string;
521
+ totalField: string;
522
+ };
523
+ };
524
+ beforeFetch: {
525
+ type: import('vue').PropType<(params: Record<string, unknown>) => Record<string, unknown>>;
526
+ };
527
+ afterFetch: {
528
+ type: import('vue').PropType<(data: unknown) => unknown>;
529
+ };
530
+ immediate: {
531
+ type: import('vue').PropType<boolean>;
532
+ default: boolean;
533
+ };
534
+ searchInfo: {
535
+ type: import('vue').PropType<Record<string, unknown>>;
536
+ };
537
+ defaultSort: {
538
+ type: import('vue').PropType<{
539
+ prop: string;
540
+ order: "ascending" | "descending";
541
+ }>;
542
+ };
543
+ tableProps: {
544
+ type: import('vue').PropType<Record<string, unknown>>;
545
+ };
546
+ rowClassName: {
547
+ type: import('vue').PropType<string | ((params: {
548
+ row: Record<string, unknown>;
549
+ rowIndex: number;
550
+ }) => string)>;
551
+ };
552
+ spanMethod: {
553
+ type: import('vue').PropType<(params: {
554
+ row: Record<string, unknown>;
555
+ column: Record<string, unknown>;
556
+ rowIndex: number;
557
+ columnIndex: number;
558
+ }) => [number, number] | {
559
+ rowspan: number;
560
+ colspan: number;
561
+ }>;
562
+ };
563
+ defaultExpandAll: {
564
+ type: import('vue').PropType<boolean>;
565
+ };
566
+ expandRowKeys: {
567
+ type: import('vue').PropType<(string | number)[]>;
568
+ };
569
+ }>>> & import('vue').ShallowUnwrapRef<{
570
+ setProps: (props: Partial<import('./ProTable').ProTableProps>) => void;
571
+ reload: (opt?: import('./ProTable').FetchParams) => Promise<void>;
572
+ redoHeight: () => void;
573
+ setLoading: (loading: boolean) => void;
574
+ getDataSource: () => Record<string, unknown>[];
575
+ getRawDataSource: () => Record<string, unknown>;
576
+ setTableData: (data: Record<string, unknown>[]) => void;
577
+ getColumns: () => import('./ProTable').ProColumn[];
578
+ setColumns: (columns: import('./ProTable').ProColumn[] | string[]) => void;
579
+ setPagination: (info: Partial<{
580
+ page: number;
581
+ pageSize: number;
582
+ total: number;
583
+ }>) => void;
584
+ getSelectRowKeys: () => (string | number)[];
585
+ getSelectRows: () => Record<string, unknown>[];
586
+ clearSelectedRowKeys: () => void;
587
+ setSelectedRowKeys: (keys: (string | number)[]) => void;
588
+ deleteSelectRowByKey: (key: string | number) => void;
589
+ updateTableData: (index: number, key: string, value: unknown) => void;
590
+ updateTableDataRecord: (rowKey: string | number, record: Record<string, unknown>) => Record<string, unknown> | void;
591
+ deleteTableDataRecord: (rowKey: string | number | (string | number)[]) => void;
592
+ insertTableDataRecord: (record: Record<string, unknown>, index?: number) => Record<string, unknown> | void;
593
+ getPaginationRef: () => {
594
+ page: number;
595
+ pageSize: number;
596
+ total: number;
597
+ } | false;
598
+ getShowPagination: () => boolean;
599
+ setShowPagination: (show: boolean) => void | Promise<void>;
600
+ getRowSelection: () => import('.').TableRowSelection;
601
+ expandAll?: () => void;
602
+ collapseAll?: () => void;
603
+ }> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
604
+ api: {
605
+ type: import('vue').PropType<(params: Record<string, unknown>) => Promise<{
606
+ list?: unknown[];
607
+ items?: unknown[];
608
+ total?: number;
609
+ }>>;
610
+ };
611
+ lazy: {
612
+ type: import('vue').PropType<boolean>;
613
+ };
614
+ loading: {
615
+ type: import('vue').PropType<boolean>;
616
+ default: boolean;
617
+ };
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
+ treeProps: {
629
+ type: import('vue').PropType<{
630
+ hasChildren?: string;
631
+ children?: string;
632
+ }>;
633
+ };
634
+ size: {
635
+ type: import('vue').PropType<"small" | "medium" | "large">;
636
+ default: string;
637
+ };
638
+ rowSelection: {
639
+ type: import('vue').PropType<{
640
+ type?: "checkbox" | "radio";
641
+ width?: number;
642
+ fixed?: "left" | "right";
643
+ getCheckboxProps?: (r: Record<string, unknown>) => {
644
+ disabled?: boolean;
645
+ };
646
+ getRadioProps?: (r: Record<string, unknown>) => {
647
+ disabled?: boolean;
648
+ };
649
+ }>;
650
+ };
651
+ columns: {
652
+ type: import('vue').PropType<import('./ProTable').ProColumn[]>;
653
+ };
654
+ dataSource: {
655
+ type: import('vue').PropType<Record<string, unknown>[]>;
656
+ };
657
+ rowKey: {
658
+ type: import('vue').PropType<string>;
659
+ default: string;
660
+ };
661
+ titleHelpMessage: {
662
+ type: import('vue').PropType<string | string[]>;
663
+ };
664
+ bordered: {
665
+ type: import('vue').PropType<boolean>;
666
+ default: boolean;
667
+ };
668
+ striped: {
669
+ type: import('vue').PropType<boolean>;
670
+ default: boolean;
671
+ };
672
+ maxHeight: {
673
+ type: import('vue').PropType<string | number>;
674
+ };
675
+ height: {
676
+ type: import('vue').PropType<string | number>;
677
+ };
678
+ ellipsis: {
679
+ type: import('vue').PropType<boolean>;
680
+ default: boolean;
681
+ };
682
+ showIndexColumn: {
683
+ type: import('vue').PropType<boolean>;
684
+ default: boolean;
685
+ };
686
+ indexColumnProps: {
687
+ type: import('vue').PropType<Partial<import('./ProTable').ProColumn>>;
688
+ };
689
+ actionColumn: {
690
+ type: import('vue').PropType<Partial<import('./ProTable').ProColumn>>;
691
+ };
692
+ clearSelectOnPageChange: {
693
+ type: import('vue').PropType<boolean>;
694
+ default: boolean;
695
+ };
696
+ pagination: {
697
+ type: import('vue').PropType<false | Record<string, unknown> | {
698
+ pageSize?: number;
699
+ pageSizes?: number[];
700
+ layout?: string;
701
+ props?: Record<string, unknown>;
702
+ }>;
703
+ default: () => {
704
+ pageSize: number;
705
+ pageSizes: number[];
706
+ };
707
+ };
708
+ tableSetting: {
709
+ type: import('vue').PropType<{
710
+ redo?: boolean;
711
+ size?: boolean;
712
+ setting?: boolean;
713
+ fullScreen?: boolean;
714
+ }>;
715
+ default: () => {
716
+ redo: boolean;
717
+ };
718
+ };
719
+ fetchSetting: {
720
+ type: import('vue').PropType<import('./ProTable').FetchSetting>;
721
+ default: () => {
722
+ pageField: string;
723
+ sizeField: string;
724
+ listField: string;
725
+ totalField: string;
726
+ };
727
+ };
728
+ beforeFetch: {
729
+ type: import('vue').PropType<(params: Record<string, unknown>) => Record<string, unknown>>;
730
+ };
731
+ afterFetch: {
732
+ type: import('vue').PropType<(data: unknown) => unknown>;
733
+ };
734
+ immediate: {
735
+ type: import('vue').PropType<boolean>;
736
+ default: boolean;
737
+ };
738
+ searchInfo: {
739
+ type: import('vue').PropType<Record<string, unknown>>;
740
+ };
741
+ defaultSort: {
742
+ type: import('vue').PropType<{
743
+ prop: string;
744
+ order: "ascending" | "descending";
745
+ }>;
746
+ };
747
+ tableProps: {
748
+ type: import('vue').PropType<Record<string, unknown>>;
749
+ };
750
+ rowClassName: {
751
+ type: import('vue').PropType<string | ((params: {
752
+ row: Record<string, unknown>;
753
+ rowIndex: number;
754
+ }) => string)>;
755
+ };
756
+ spanMethod: {
757
+ type: import('vue').PropType<(params: {
758
+ row: Record<string, unknown>;
759
+ column: Record<string, unknown>;
760
+ rowIndex: number;
761
+ columnIndex: number;
762
+ }) => [number, number] | {
763
+ rowspan: number;
764
+ colspan: number;
765
+ }>;
766
+ };
767
+ defaultExpandAll: {
768
+ type: import('vue').PropType<boolean>;
769
+ };
770
+ expandRowKeys: {
771
+ type: import('vue').PropType<(string | number)[]>;
772
+ };
773
+ }>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
774
+ api: {
775
+ type: import('vue').PropType<(params: Record<string, unknown>) => Promise<{
776
+ list?: unknown[];
777
+ items?: unknown[];
778
+ total?: number;
779
+ }>>;
780
+ };
781
+ lazy: {
782
+ type: import('vue').PropType<boolean>;
783
+ };
784
+ loading: {
785
+ type: import('vue').PropType<boolean>;
786
+ default: boolean;
787
+ };
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
+ treeProps: {
799
+ type: import('vue').PropType<{
800
+ hasChildren?: string;
801
+ children?: string;
802
+ }>;
803
+ };
804
+ size: {
805
+ type: import('vue').PropType<"small" | "medium" | "large">;
806
+ default: string;
807
+ };
808
+ rowSelection: {
809
+ type: import('vue').PropType<{
810
+ type?: "checkbox" | "radio";
811
+ width?: number;
812
+ fixed?: "left" | "right";
813
+ getCheckboxProps?: (r: Record<string, unknown>) => {
814
+ disabled?: boolean;
815
+ };
816
+ getRadioProps?: (r: Record<string, unknown>) => {
817
+ disabled?: boolean;
818
+ };
819
+ }>;
820
+ };
821
+ columns: {
822
+ type: import('vue').PropType<import('./ProTable').ProColumn[]>;
823
+ };
824
+ dataSource: {
825
+ type: import('vue').PropType<Record<string, unknown>[]>;
826
+ };
827
+ rowKey: {
828
+ type: import('vue').PropType<string>;
829
+ default: string;
830
+ };
831
+ titleHelpMessage: {
832
+ type: import('vue').PropType<string | string[]>;
833
+ };
834
+ bordered: {
835
+ type: import('vue').PropType<boolean>;
836
+ default: boolean;
837
+ };
838
+ striped: {
839
+ type: import('vue').PropType<boolean>;
840
+ default: boolean;
841
+ };
842
+ maxHeight: {
843
+ type: import('vue').PropType<string | number>;
844
+ };
845
+ height: {
846
+ type: import('vue').PropType<string | number>;
847
+ };
848
+ ellipsis: {
849
+ type: import('vue').PropType<boolean>;
850
+ default: boolean;
851
+ };
852
+ showIndexColumn: {
853
+ type: import('vue').PropType<boolean>;
854
+ default: boolean;
855
+ };
856
+ indexColumnProps: {
857
+ type: import('vue').PropType<Partial<import('./ProTable').ProColumn>>;
858
+ };
859
+ actionColumn: {
860
+ type: import('vue').PropType<Partial<import('./ProTable').ProColumn>>;
861
+ };
862
+ clearSelectOnPageChange: {
863
+ type: import('vue').PropType<boolean>;
864
+ default: boolean;
865
+ };
866
+ pagination: {
867
+ type: import('vue').PropType<false | Record<string, unknown> | {
868
+ pageSize?: number;
869
+ pageSizes?: number[];
870
+ layout?: string;
871
+ props?: Record<string, unknown>;
872
+ }>;
873
+ default: () => {
874
+ pageSize: number;
875
+ pageSizes: number[];
876
+ };
877
+ };
878
+ tableSetting: {
879
+ type: import('vue').PropType<{
880
+ redo?: boolean;
881
+ size?: boolean;
882
+ setting?: boolean;
883
+ fullScreen?: boolean;
884
+ }>;
885
+ default: () => {
886
+ redo: boolean;
887
+ };
888
+ };
889
+ fetchSetting: {
890
+ type: import('vue').PropType<import('./ProTable').FetchSetting>;
891
+ default: () => {
892
+ pageField: string;
893
+ sizeField: string;
894
+ listField: string;
895
+ totalField: string;
896
+ };
897
+ };
898
+ beforeFetch: {
899
+ type: import('vue').PropType<(params: Record<string, unknown>) => Record<string, unknown>>;
900
+ };
901
+ afterFetch: {
902
+ type: import('vue').PropType<(data: unknown) => unknown>;
903
+ };
904
+ immediate: {
905
+ type: import('vue').PropType<boolean>;
906
+ default: boolean;
907
+ };
908
+ searchInfo: {
909
+ type: import('vue').PropType<Record<string, unknown>>;
910
+ };
911
+ defaultSort: {
912
+ type: import('vue').PropType<{
913
+ prop: string;
914
+ order: "ascending" | "descending";
915
+ }>;
916
+ };
917
+ tableProps: {
918
+ type: import('vue').PropType<Record<string, unknown>>;
919
+ };
920
+ rowClassName: {
921
+ type: import('vue').PropType<string | ((params: {
922
+ row: Record<string, unknown>;
923
+ rowIndex: number;
924
+ }) => string)>;
925
+ };
926
+ spanMethod: {
927
+ type: import('vue').PropType<(params: {
928
+ row: Record<string, unknown>;
929
+ column: Record<string, unknown>;
930
+ rowIndex: number;
931
+ columnIndex: number;
932
+ }) => [number, number] | {
933
+ rowspan: number;
934
+ colspan: number;
935
+ }>;
936
+ };
937
+ defaultExpandAll: {
938
+ type: import('vue').PropType<boolean>;
939
+ };
940
+ expandRowKeys: {
941
+ type: import('vue').PropType<(string | number)[]>;
942
+ };
943
+ }>>, {
944
+ setProps: (props: Partial<import('./ProTable').ProTableProps>) => void;
945
+ reload: (opt?: import('./ProTable').FetchParams) => Promise<void>;
946
+ redoHeight: () => void;
947
+ setLoading: (loading: boolean) => void;
948
+ getDataSource: () => Record<string, unknown>[];
949
+ getRawDataSource: () => Record<string, unknown>;
950
+ setTableData: (data: Record<string, unknown>[]) => void;
951
+ getColumns: () => import('./ProTable').ProColumn[];
952
+ setColumns: (columns: import('./ProTable').ProColumn[] | string[]) => void;
953
+ setPagination: (info: Partial<{
954
+ page: number;
955
+ pageSize: number;
956
+ total: number;
957
+ }>) => void;
958
+ getSelectRowKeys: () => (string | number)[];
959
+ getSelectRows: () => Record<string, unknown>[];
960
+ clearSelectedRowKeys: () => void;
961
+ setSelectedRowKeys: (keys: (string | number)[]) => void;
962
+ deleteSelectRowByKey: (key: string | number) => void;
963
+ updateTableData: (index: number, key: string, value: unknown) => void;
964
+ updateTableDataRecord: (rowKey: string | number, record: Record<string, unknown>) => Record<string, unknown> | void;
965
+ deleteTableDataRecord: (rowKey: string | number | (string | number)[]) => void;
966
+ insertTableDataRecord: (record: Record<string, unknown>, index?: number) => Record<string, unknown> | void;
967
+ getPaginationRef: () => {
968
+ page: number;
969
+ pageSize: number;
970
+ total: number;
971
+ } | false;
972
+ getShowPagination: () => boolean;
973
+ setShowPagination: (show: boolean) => void | Promise<void>;
974
+ getRowSelection: () => import('.').TableRowSelection;
975
+ expandAll?: () => void;
976
+ collapseAll?: () => void;
977
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
978
+ register: (action: import('./ProTable').TableActionType) => void;
979
+ "fetch-success": (data: {
980
+ items: unknown[];
981
+ total: number;
982
+ }) => void;
983
+ "fetch-error": (error: unknown) => void;
984
+ "selection-change": (data: {
985
+ keys: (string | number)[];
986
+ rows: Record<string, unknown>[];
987
+ }) => void;
988
+ "row-click": (record: Record<string, unknown>, event: Event) => void;
989
+ "row-dblclick": (record: Record<string, unknown>, event: Event) => void;
990
+ "sort-change": (sortInfo: {
991
+ prop: string;
992
+ order: string;
993
+ }) => void;
994
+ "expand-change": (row: Record<string, unknown>, expanded: boolean | Record<string, unknown>[]) => void;
995
+ }, string, {
996
+ loading: boolean;
997
+ size: "medium" | "small" | "large";
998
+ rowKey: string;
999
+ bordered: boolean;
1000
+ striped: boolean;
1001
+ ellipsis: boolean;
1002
+ showIndexColumn: boolean;
1003
+ clearSelectOnPageChange: boolean;
1004
+ pagination: false | {
1005
+ pageSize?: number;
1006
+ pageSizes?: number[];
1007
+ layout?: string;
1008
+ props?: Record<string, unknown>;
1009
+ } | Record<string, unknown>;
1010
+ tableSetting: {
1011
+ redo?: boolean;
1012
+ size?: boolean;
1013
+ setting?: boolean;
1014
+ fullScreen?: boolean;
1015
+ };
1016
+ fetchSetting: import('./ProTable').FetchSetting;
1017
+ immediate: boolean;
1018
+ }> & {
1019
+ props: {
1020
+ api: {
1021
+ type: import('vue').PropType<(params: Record<string, unknown>) => Promise<{
1022
+ list?: unknown[];
1023
+ items?: unknown[];
1024
+ total?: number;
1025
+ }>>;
1026
+ };
1027
+ lazy: {
1028
+ type: import('vue').PropType<boolean>;
1029
+ };
1030
+ loading: {
1031
+ type: import('vue').PropType<boolean>;
1032
+ default: boolean;
1033
+ };
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
+ treeProps: {
1045
+ type: import('vue').PropType<{
1046
+ hasChildren?: string;
1047
+ children?: string;
1048
+ }>;
1049
+ };
1050
+ size: {
1051
+ type: import('vue').PropType<"small" | "medium" | "large">;
1052
+ default: string;
1053
+ };
1054
+ rowSelection: {
1055
+ type: import('vue').PropType<{
1056
+ type?: "checkbox" | "radio";
1057
+ width?: number;
1058
+ fixed?: "left" | "right";
1059
+ getCheckboxProps?: (r: Record<string, unknown>) => {
1060
+ disabled?: boolean;
1061
+ };
1062
+ getRadioProps?: (r: Record<string, unknown>) => {
1063
+ disabled?: boolean;
1064
+ };
1065
+ }>;
1066
+ };
1067
+ columns: {
1068
+ type: import('vue').PropType<import('./ProTable').ProColumn[]>;
1069
+ };
1070
+ dataSource: {
1071
+ type: import('vue').PropType<Record<string, unknown>[]>;
1072
+ };
1073
+ rowKey: {
1074
+ type: import('vue').PropType<string>;
1075
+ default: string;
1076
+ };
1077
+ titleHelpMessage: {
1078
+ type: import('vue').PropType<string | string[]>;
1079
+ };
1080
+ bordered: {
1081
+ type: import('vue').PropType<boolean>;
1082
+ default: boolean;
1083
+ };
1084
+ striped: {
1085
+ type: import('vue').PropType<boolean>;
1086
+ default: boolean;
1087
+ };
1088
+ maxHeight: {
1089
+ type: import('vue').PropType<string | number>;
1090
+ };
1091
+ height: {
1092
+ type: import('vue').PropType<string | number>;
1093
+ };
1094
+ ellipsis: {
1095
+ type: import('vue').PropType<boolean>;
1096
+ default: boolean;
1097
+ };
1098
+ showIndexColumn: {
1099
+ type: import('vue').PropType<boolean>;
1100
+ default: boolean;
1101
+ };
1102
+ indexColumnProps: {
1103
+ type: import('vue').PropType<Partial<import('./ProTable').ProColumn>>;
1104
+ };
1105
+ actionColumn: {
1106
+ type: import('vue').PropType<Partial<import('./ProTable').ProColumn>>;
1107
+ };
1108
+ clearSelectOnPageChange: {
1109
+ type: import('vue').PropType<boolean>;
1110
+ default: boolean;
1111
+ };
1112
+ pagination: {
1113
+ type: import('vue').PropType<false | Record<string, unknown> | {
1114
+ pageSize?: number;
1115
+ pageSizes?: number[];
1116
+ layout?: string;
1117
+ props?: Record<string, unknown>;
1118
+ }>;
1119
+ default: () => {
1120
+ pageSize: number;
1121
+ pageSizes: number[];
1122
+ };
1123
+ };
1124
+ tableSetting: {
1125
+ type: import('vue').PropType<{
1126
+ redo?: boolean;
1127
+ size?: boolean;
1128
+ setting?: boolean;
1129
+ fullScreen?: boolean;
1130
+ }>;
1131
+ default: () => {
1132
+ redo: boolean;
1133
+ };
1134
+ };
1135
+ fetchSetting: {
1136
+ type: import('vue').PropType<import('./ProTable').FetchSetting>;
1137
+ default: () => {
1138
+ pageField: string;
1139
+ sizeField: string;
1140
+ listField: string;
1141
+ totalField: string;
1142
+ };
1143
+ };
1144
+ beforeFetch: {
1145
+ type: import('vue').PropType<(params: Record<string, unknown>) => Record<string, unknown>>;
1146
+ };
1147
+ afterFetch: {
1148
+ type: import('vue').PropType<(data: unknown) => unknown>;
1149
+ };
1150
+ immediate: {
1151
+ type: import('vue').PropType<boolean>;
1152
+ default: boolean;
1153
+ };
1154
+ searchInfo: {
1155
+ type: import('vue').PropType<Record<string, unknown>>;
1156
+ };
1157
+ defaultSort: {
1158
+ type: import('vue').PropType<{
1159
+ prop: string;
1160
+ order: "ascending" | "descending";
1161
+ }>;
1162
+ };
1163
+ tableProps: {
1164
+ type: import('vue').PropType<Record<string, unknown>>;
1165
+ };
1166
+ rowClassName: {
1167
+ type: import('vue').PropType<string | ((params: {
1168
+ row: Record<string, unknown>;
1169
+ rowIndex: number;
1170
+ }) => string)>;
1171
+ };
1172
+ spanMethod: {
1173
+ type: import('vue').PropType<(params: {
1174
+ row: Record<string, unknown>;
1175
+ column: Record<string, unknown>;
1176
+ rowIndex: number;
1177
+ columnIndex: number;
1178
+ }) => [number, number] | {
1179
+ rowspan: number;
1180
+ colspan: number;
1181
+ }>;
1182
+ };
1183
+ defaultExpandAll: {
1184
+ type: import('vue').PropType<boolean>;
1185
+ };
1186
+ expandRowKeys: {
1187
+ type: import('vue').PropType<(string | number)[]>;
1188
+ };
1189
+ };
1190
+ } & (new () => {
1191
+ $scopedSlots: Partial<Record<`header-${string}`, (_: {
1192
+ column: {
1193
+ key?: string | undefined;
1194
+ title: string;
1195
+ dataIndex: string;
1196
+ width?: number | string | undefined;
1197
+ minWidth?: number | string | undefined;
1198
+ maxWidth?: number | string | undefined;
1199
+ fixed?: "left" | "right" | undefined;
1200
+ sortable?: boolean | undefined;
1201
+ align?: "left" | "center" | "right" | undefined;
1202
+ resizable?: boolean | undefined;
1203
+ ellipsis?: boolean | undefined;
1204
+ hideInTable?: boolean | undefined;
1205
+ defaultHidden?: boolean | undefined;
1206
+ helpMessage?: string | string[] | undefined;
1207
+ valueType?: "text" | "date" | "dateTime" | "option" | "select" | "index" | undefined;
1208
+ valueEnum?: Record<string | number, {
1209
+ text: string;
1210
+ status?: string;
1211
+ }> | undefined;
1212
+ customRender?: ((params: {
1213
+ text: unknown;
1214
+ record: Record<string, unknown>;
1215
+ index: number;
1216
+ }) => import('vue').VNode | string) | undefined;
1217
+ formatter?: ((row: Record<string, unknown>, column: unknown, cellValue: unknown) => string) | undefined;
1218
+ ifShow?: boolean | ((params: {
1219
+ column: import('./ProTable').ProColumn;
1220
+ }) => boolean) | undefined;
1221
+ fieldProps?: Record<string, unknown> | undefined;
1222
+ placeholder?: string | undefined;
1223
+ };
1224
+ }) => any>> & Partial<Record<string, (_: {
1225
+ row: any;
1226
+ column: {
1227
+ key?: string | undefined;
1228
+ title: string;
1229
+ dataIndex: string;
1230
+ width?: number | string | undefined;
1231
+ minWidth?: number | string | undefined;
1232
+ maxWidth?: number | string | undefined;
1233
+ fixed?: "left" | "right" | undefined;
1234
+ sortable?: boolean | undefined;
1235
+ align?: "left" | "center" | "right" | undefined;
1236
+ resizable?: boolean | undefined;
1237
+ ellipsis?: boolean | undefined;
1238
+ hideInTable?: boolean | undefined;
1239
+ defaultHidden?: boolean | undefined;
1240
+ helpMessage?: string | string[] | undefined;
1241
+ valueType?: "text" | "date" | "dateTime" | "option" | "select" | "index" | undefined;
1242
+ valueEnum?: Record<string | number, {
1243
+ text: string;
1244
+ status?: string;
1245
+ }> | undefined;
1246
+ customRender?: ((params: {
1247
+ text: unknown;
1248
+ record: Record<string, unknown>;
1249
+ index: number;
1250
+ }) => import('vue').VNode | string) | undefined;
1251
+ formatter?: ((row: Record<string, unknown>, column: unknown, cellValue: unknown) => string) | undefined;
1252
+ ifShow?: boolean | ((params: {
1253
+ column: import('./ProTable').ProColumn;
1254
+ }) => boolean) | undefined;
1255
+ fieldProps?: Record<string, unknown> | undefined;
1256
+ placeholder?: string | undefined;
1257
+ };
1258
+ index: any;
1259
+ value: any;
1260
+ }) => any>> & {
1261
+ tableTitle?(_: {}): any;
1262
+ toolbar?(_: {}): any;
1263
+ "toolbar-right"?(_: {}): any;
1264
+ headerCell?(_: {
1265
+ column: {
1266
+ key?: string | undefined;
1267
+ title: string;
1268
+ dataIndex: string;
1269
+ width?: number | string | undefined;
1270
+ minWidth?: number | string | undefined;
1271
+ maxWidth?: number | string | undefined;
1272
+ fixed?: "left" | "right" | undefined;
1273
+ sortable?: boolean | undefined;
1274
+ align?: "left" | "center" | "right" | undefined;
1275
+ resizable?: boolean | undefined;
1276
+ ellipsis?: boolean | undefined;
1277
+ hideInTable?: boolean | undefined;
1278
+ defaultHidden?: boolean | undefined;
1279
+ helpMessage?: string | string[] | undefined;
1280
+ valueType?: "text" | "date" | "dateTime" | "option" | "select" | "index" | undefined;
1281
+ valueEnum?: Record<string | number, {
1282
+ text: string;
1283
+ status?: string;
1284
+ }> | undefined;
1285
+ customRender?: ((params: {
1286
+ text: unknown;
1287
+ record: Record<string, unknown>;
1288
+ index: number;
1289
+ }) => import('vue').VNode | string) | undefined;
1290
+ formatter?: ((row: Record<string, unknown>, column: unknown, cellValue: unknown) => string) | undefined;
1291
+ ifShow?: boolean | ((params: {
1292
+ column: import('./ProTable').ProColumn;
1293
+ }) => boolean) | undefined;
1294
+ fieldProps?: Record<string, unknown> | undefined;
1295
+ placeholder?: string | undefined;
1296
+ };
1297
+ }): any;
1298
+ action?(_: {
1299
+ record: any;
1300
+ column: Partial<import('./ProTable').ProColumn>;
1301
+ index: any;
1302
+ }): any;
1303
+ };
1304
+ });
10
1305
  ProForm: import('vue/types/v3-component-public-instance').ComponentPublicInstanceConstructor<import('vue/types/v3-component-public-instance').Vue3Instance<{}, Readonly<import('vue').ExtractPropTypes<{
1306
+ disabled: {
1307
+ type: import('vue').PropType<boolean>;
1308
+ };
1309
+ components: {
1310
+ type: import('vue').PropType<Record<string, unknown>>;
1311
+ };
11
1312
  showActionButtonGroup: {
12
1313
  type: import('vue').PropType<boolean>;
13
1314
  default: boolean;
@@ -69,12 +1370,9 @@ declare const _default: {
69
1370
  default: number;
70
1371
  };
71
1372
  size: {
72
- type: import('vue').PropType<"medium" | "small" | "large">;
1373
+ type: import('vue').PropType<"small" | "medium" | "large">;
73
1374
  default: string;
74
1375
  };
75
- disabled: {
76
- type: import('vue').PropType<boolean>;
77
- };
78
1376
  baseColProps: {
79
1377
  type: import('vue').PropType<import('./types').ColEx>;
80
1378
  default: () => {
@@ -114,6 +1412,12 @@ declare const _default: {
114
1412
  type: import('vue').PropType<import('./types').FormListeners>;
115
1413
  };
116
1414
  }>>, Readonly<import('vue').ExtractPropTypes<{
1415
+ disabled: {
1416
+ type: import('vue').PropType<boolean>;
1417
+ };
1418
+ components: {
1419
+ type: import('vue').PropType<Record<string, unknown>>;
1420
+ };
117
1421
  showActionButtonGroup: {
118
1422
  type: import('vue').PropType<boolean>;
119
1423
  default: boolean;
@@ -175,12 +1479,9 @@ declare const _default: {
175
1479
  default: number;
176
1480
  };
177
1481
  size: {
178
- type: import('vue').PropType<"medium" | "small" | "large">;
1482
+ type: import('vue').PropType<"small" | "medium" | "large">;
179
1483
  default: string;
180
1484
  };
181
- disabled: {
182
- type: import('vue').PropType<boolean>;
183
- };
184
1485
  baseColProps: {
185
1486
  type: import('vue').PropType<import('./types').ColEx>;
186
1487
  default: () => {
@@ -243,6 +1544,12 @@ declare const _default: {
243
1544
  alwaysShowLines: number;
244
1545
  submitOnReset: boolean;
245
1546
  }, true, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import('vue').ExtractPropTypes<{
1547
+ disabled: {
1548
+ type: import('vue').PropType<boolean>;
1549
+ };
1550
+ components: {
1551
+ type: import('vue').PropType<Record<string, unknown>>;
1552
+ };
246
1553
  showActionButtonGroup: {
247
1554
  type: import('vue').PropType<boolean>;
248
1555
  default: boolean;
@@ -304,12 +1611,9 @@ declare const _default: {
304
1611
  default: number;
305
1612
  };
306
1613
  size: {
307
- type: import('vue').PropType<"medium" | "small" | "large">;
1614
+ type: import('vue').PropType<"small" | "medium" | "large">;
308
1615
  default: string;
309
1616
  };
310
- disabled: {
311
- type: import('vue').PropType<boolean>;
312
- };
313
1617
  baseColProps: {
314
1618
  type: import('vue').PropType<import('./types').ColEx>;
315
1619
  default: () => {
@@ -362,6 +1666,12 @@ declare const _default: {
362
1666
  removeSchemaByField: (field: string | string[]) => Promise<void>;
363
1667
  setProps: (props: Partial<import('./types').ProFormProps>) => Promise<void>;
364
1668
  }> & import('vue/types/v3-component-options').ExtractComputedReturns<{}> & import('vue').ComponentCustomProperties & Readonly<import('vue').ExtractPropTypes<{
1669
+ disabled: {
1670
+ type: import('vue').PropType<boolean>;
1671
+ };
1672
+ components: {
1673
+ type: import('vue').PropType<Record<string, unknown>>;
1674
+ };
365
1675
  showActionButtonGroup: {
366
1676
  type: import('vue').PropType<boolean>;
367
1677
  default: boolean;
@@ -423,12 +1733,9 @@ declare const _default: {
423
1733
  default: number;
424
1734
  };
425
1735
  size: {
426
- type: import('vue').PropType<"medium" | "small" | "large">;
1736
+ type: import('vue').PropType<"small" | "medium" | "large">;
427
1737
  default: string;
428
1738
  };
429
- disabled: {
430
- type: import('vue').PropType<boolean>;
431
- };
432
1739
  baseColProps: {
433
1740
  type: import('vue').PropType<import('./types').ColEx>;
434
1741
  default: () => {
@@ -468,6 +1775,12 @@ declare const _default: {
468
1775
  type: import('vue').PropType<import('./types').FormListeners>;
469
1776
  };
470
1777
  }>>> & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
1778
+ disabled: {
1779
+ type: import('vue').PropType<boolean>;
1780
+ };
1781
+ components: {
1782
+ type: import('vue').PropType<Record<string, unknown>>;
1783
+ };
471
1784
  showActionButtonGroup: {
472
1785
  type: import('vue').PropType<boolean>;
473
1786
  default: boolean;
@@ -529,12 +1842,9 @@ declare const _default: {
529
1842
  default: number;
530
1843
  };
531
1844
  size: {
532
- type: import('vue').PropType<"medium" | "small" | "large">;
1845
+ type: import('vue').PropType<"small" | "medium" | "large">;
533
1846
  default: string;
534
1847
  };
535
- disabled: {
536
- type: import('vue').PropType<boolean>;
537
- };
538
1848
  baseColProps: {
539
1849
  type: import('vue').PropType<import('./types').ColEx>;
540
1850
  default: () => {
@@ -611,6 +1921,12 @@ declare const _default: {
611
1921
  submitOnReset: boolean;
612
1922
  }> & {
613
1923
  props: {
1924
+ disabled: {
1925
+ type: import('vue').PropType<boolean>;
1926
+ };
1927
+ components: {
1928
+ type: import('vue').PropType<Record<string, unknown>>;
1929
+ };
614
1930
  showActionButtonGroup: {
615
1931
  type: import('vue').PropType<boolean>;
616
1932
  default: boolean;
@@ -672,12 +1988,9 @@ declare const _default: {
672
1988
  default: number;
673
1989
  };
674
1990
  size: {
675
- type: import('vue').PropType<"medium" | "small" | "large">;
1991
+ type: import('vue').PropType<"small" | "medium" | "large">;
676
1992
  default: string;
677
1993
  };
678
- disabled: {
679
- type: import('vue').PropType<boolean>;
680
- };
681
1994
  baseColProps: {
682
1995
  type: import('vue').PropType<import('./types').ColEx>;
683
1996
  default: () => {
@@ -723,7 +2036,7 @@ declare const _default: {
723
2036
  schema: {
724
2037
  field: string;
725
2038
  label: string;
726
- component?: "input" | "select" | "date-picker" | "date-range" | "input-number" | "switch" | "cascader" | "checkbox" | "radio" | undefined;
2039
+ component?: (import('./types').ProFormBuiltInComponent | import('./types').ProFormCustomComponent) | undefined;
727
2040
  componentProps?: (Record<string, unknown> | ((params: import('./types').RenderCallbackParams & {
728
2041
  formActionType?: import('./types').FormActionType;
729
2042
  }) => Record<string, unknown>)) | undefined;
@@ -765,5 +2078,36 @@ declare const _default: {
765
2078
  formFooter?(_: {}): any;
766
2079
  };
767
2080
  });
2081
+ TableAction: import('vue').DefineComponent<{
2082
+ actions: {
2083
+ type: import('vue').PropType<import('./ProTable').TableActionItem[]>;
2084
+ default: () => never[];
2085
+ };
2086
+ dropDownActions: {
2087
+ type: import('vue').PropType<import('./ProTable').TableActionItem[]>;
2088
+ default: () => never[];
2089
+ };
2090
+ stopButtonPropagation: {
2091
+ type: import('vue').PropType<boolean>;
2092
+ default: boolean;
2093
+ };
2094
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
2095
+ actions: {
2096
+ type: import('vue').PropType<import('./ProTable').TableActionItem[]>;
2097
+ default: () => never[];
2098
+ };
2099
+ dropDownActions: {
2100
+ type: import('vue').PropType<import('./ProTable').TableActionItem[]>;
2101
+ default: () => never[];
2102
+ };
2103
+ stopButtonPropagation: {
2104
+ type: import('vue').PropType<boolean>;
2105
+ default: boolean;
2106
+ };
2107
+ }>>, {
2108
+ actions: import('./ProTable').TableActionItem[];
2109
+ dropDownActions: import('./ProTable').TableActionItem[];
2110
+ stopButtonPropagation: boolean;
2111
+ }>;
768
2112
  };
769
2113
  export default _default;