@a2simcode/ui 0.0.87 → 0.0.89
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/components/dialog/index.d.ts +3 -3
- package/dist/components/dialog/src/index.vue.d.ts +1 -1
- package/dist/components/input-layer/index.d.ts +60 -0
- package/dist/components/input-layer/src/input-layer.vue.d.ts +60 -0
- package/dist/components/table/index.d.ts +15 -0
- package/dist/components/table/src/table.vue.d.ts +15 -0
- package/dist/components/table-panel/index.d.ts +90 -0
- package/dist/components/table-panel/src/table-panel.vue.d.ts +90 -0
- package/dist/simcode-ui.es.js +4370 -4272
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/docs/components/meta/table-panel.ts +36 -0
- package/docs/components/table-panel.md +46 -28
- package/docs/components/table.md +15 -0
- package/docs/examples/table/checkbox-layout.vue +68 -0
- package/docs/examples/table-panel/button-visibility.vue +88 -0
- package/docs/examples/table-panel/get-selection.vue +111 -0
- package/docs/examples/table-panel/tree-parent-key.vue +66 -0
- package/package.json +1 -1
|
@@ -128,9 +128,9 @@ export declare const JDialog: {
|
|
|
128
128
|
minWidth: number;
|
|
129
129
|
minHeight: number;
|
|
130
130
|
visible: boolean;
|
|
131
|
+
autoHeight: boolean;
|
|
131
132
|
subtitle: Function;
|
|
132
133
|
showCloseBtn: boolean;
|
|
133
|
-
autoHeight: boolean;
|
|
134
134
|
stepActive: number;
|
|
135
135
|
zoomControls: boolean;
|
|
136
136
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -263,9 +263,9 @@ export declare const JDialog: {
|
|
|
263
263
|
minWidth: number;
|
|
264
264
|
minHeight: number;
|
|
265
265
|
visible: boolean;
|
|
266
|
+
autoHeight: boolean;
|
|
266
267
|
subtitle: Function;
|
|
267
268
|
showCloseBtn: boolean;
|
|
268
|
-
autoHeight: boolean;
|
|
269
269
|
stepActive: number;
|
|
270
270
|
zoomControls: boolean;
|
|
271
271
|
}>;
|
|
@@ -401,9 +401,9 @@ export declare const JDialog: {
|
|
|
401
401
|
minWidth: number;
|
|
402
402
|
minHeight: number;
|
|
403
403
|
visible: boolean;
|
|
404
|
+
autoHeight: boolean;
|
|
404
405
|
subtitle: Function;
|
|
405
406
|
showCloseBtn: boolean;
|
|
406
|
-
autoHeight: boolean;
|
|
407
407
|
stepActive: number;
|
|
408
408
|
zoomControls: boolean;
|
|
409
409
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -389,9 +389,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
389
389
|
minWidth: number;
|
|
390
390
|
minHeight: number;
|
|
391
391
|
visible: boolean;
|
|
392
|
+
autoHeight: boolean;
|
|
392
393
|
subtitle: Function;
|
|
393
394
|
showCloseBtn: boolean;
|
|
394
|
-
autoHeight: boolean;
|
|
395
395
|
stepActive: number;
|
|
396
396
|
zoomControls: boolean;
|
|
397
397
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -290,6 +290,10 @@ export declare const JInputLayer: {
|
|
|
290
290
|
type: BooleanConstructor;
|
|
291
291
|
default: boolean;
|
|
292
292
|
};
|
|
293
|
+
parentKey: {
|
|
294
|
+
type: StringConstructor;
|
|
295
|
+
default: string;
|
|
296
|
+
};
|
|
293
297
|
isShowNumber: {
|
|
294
298
|
type: BooleanConstructor;
|
|
295
299
|
default: boolean;
|
|
@@ -358,6 +362,26 @@ export declare const JInputLayer: {
|
|
|
358
362
|
type: import('vue').PropType<"cross" | "row" | "column" | "cell">;
|
|
359
363
|
default: string;
|
|
360
364
|
};
|
|
365
|
+
showFilterButton: {
|
|
366
|
+
type: BooleanConstructor;
|
|
367
|
+
default: boolean;
|
|
368
|
+
};
|
|
369
|
+
showOrderButton: {
|
|
370
|
+
type: BooleanConstructor;
|
|
371
|
+
default: boolean;
|
|
372
|
+
};
|
|
373
|
+
showColumnButton: {
|
|
374
|
+
type: BooleanConstructor;
|
|
375
|
+
default: boolean;
|
|
376
|
+
};
|
|
377
|
+
showRefreshButton: {
|
|
378
|
+
type: BooleanConstructor;
|
|
379
|
+
default: boolean;
|
|
380
|
+
};
|
|
381
|
+
showFullscreenButton: {
|
|
382
|
+
type: BooleanConstructor;
|
|
383
|
+
default: boolean;
|
|
384
|
+
};
|
|
361
385
|
}>> & Readonly<{
|
|
362
386
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
363
387
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -376,6 +400,7 @@ export declare const JInputLayer: {
|
|
|
376
400
|
buttons: import('..').ButtonCompType[];
|
|
377
401
|
columns: import('..').SchemaConfig[];
|
|
378
402
|
isTree: boolean;
|
|
403
|
+
parentKey: string;
|
|
379
404
|
isShowNumber: boolean;
|
|
380
405
|
isMultiple: boolean;
|
|
381
406
|
isPage: boolean;
|
|
@@ -391,6 +416,11 @@ export declare const JInputLayer: {
|
|
|
391
416
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
392
417
|
batchButtons: import('..').ButtonCompType[];
|
|
393
418
|
noPadding: boolean;
|
|
419
|
+
showFilterButton: boolean;
|
|
420
|
+
showOrderButton: boolean;
|
|
421
|
+
showColumnButton: boolean;
|
|
422
|
+
showRefreshButton: boolean;
|
|
423
|
+
showFullscreenButton: boolean;
|
|
394
424
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
395
425
|
topLeftRef: HTMLDivElement;
|
|
396
426
|
keywordPanelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -596,6 +626,10 @@ export declare const JInputLayer: {
|
|
|
596
626
|
type: BooleanConstructor;
|
|
597
627
|
default: boolean;
|
|
598
628
|
};
|
|
629
|
+
parentKey: {
|
|
630
|
+
type: StringConstructor;
|
|
631
|
+
default: string;
|
|
632
|
+
};
|
|
599
633
|
isShowNumber: {
|
|
600
634
|
type: BooleanConstructor;
|
|
601
635
|
default: boolean;
|
|
@@ -664,6 +698,26 @@ export declare const JInputLayer: {
|
|
|
664
698
|
type: import('vue').PropType<"cross" | "row" | "column" | "cell">;
|
|
665
699
|
default: string;
|
|
666
700
|
};
|
|
701
|
+
showFilterButton: {
|
|
702
|
+
type: BooleanConstructor;
|
|
703
|
+
default: boolean;
|
|
704
|
+
};
|
|
705
|
+
showOrderButton: {
|
|
706
|
+
type: BooleanConstructor;
|
|
707
|
+
default: boolean;
|
|
708
|
+
};
|
|
709
|
+
showColumnButton: {
|
|
710
|
+
type: BooleanConstructor;
|
|
711
|
+
default: boolean;
|
|
712
|
+
};
|
|
713
|
+
showRefreshButton: {
|
|
714
|
+
type: BooleanConstructor;
|
|
715
|
+
default: boolean;
|
|
716
|
+
};
|
|
717
|
+
showFullscreenButton: {
|
|
718
|
+
type: BooleanConstructor;
|
|
719
|
+
default: boolean;
|
|
720
|
+
};
|
|
667
721
|
}>> & Readonly<{
|
|
668
722
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
669
723
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -679,6 +733,7 @@ export declare const JInputLayer: {
|
|
|
679
733
|
buttons: import('..').ButtonCompType[];
|
|
680
734
|
columns: import('..').SchemaConfig[];
|
|
681
735
|
isTree: boolean;
|
|
736
|
+
parentKey: string;
|
|
682
737
|
isShowNumber: boolean;
|
|
683
738
|
isMultiple: boolean;
|
|
684
739
|
isPage: boolean;
|
|
@@ -694,6 +749,11 @@ export declare const JInputLayer: {
|
|
|
694
749
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
695
750
|
batchButtons: import('..').ButtonCompType[];
|
|
696
751
|
noPadding: boolean;
|
|
752
|
+
showFilterButton: boolean;
|
|
753
|
+
showOrderButton: boolean;
|
|
754
|
+
showColumnButton: boolean;
|
|
755
|
+
showRefreshButton: boolean;
|
|
756
|
+
showFullscreenButton: boolean;
|
|
697
757
|
}> | null;
|
|
698
758
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
699
759
|
P: {};
|
|
@@ -349,6 +349,10 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
349
349
|
type: BooleanConstructor;
|
|
350
350
|
default: boolean;
|
|
351
351
|
};
|
|
352
|
+
parentKey: {
|
|
353
|
+
type: StringConstructor;
|
|
354
|
+
default: string;
|
|
355
|
+
};
|
|
352
356
|
isShowNumber: {
|
|
353
357
|
type: BooleanConstructor;
|
|
354
358
|
default: boolean;
|
|
@@ -417,6 +421,26 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
417
421
|
type: import('vue').PropType<"cross" | "row" | "column" | "cell">;
|
|
418
422
|
default: string;
|
|
419
423
|
};
|
|
424
|
+
showFilterButton: {
|
|
425
|
+
type: BooleanConstructor;
|
|
426
|
+
default: boolean;
|
|
427
|
+
};
|
|
428
|
+
showOrderButton: {
|
|
429
|
+
type: BooleanConstructor;
|
|
430
|
+
default: boolean;
|
|
431
|
+
};
|
|
432
|
+
showColumnButton: {
|
|
433
|
+
type: BooleanConstructor;
|
|
434
|
+
default: boolean;
|
|
435
|
+
};
|
|
436
|
+
showRefreshButton: {
|
|
437
|
+
type: BooleanConstructor;
|
|
438
|
+
default: boolean;
|
|
439
|
+
};
|
|
440
|
+
showFullscreenButton: {
|
|
441
|
+
type: BooleanConstructor;
|
|
442
|
+
default: boolean;
|
|
443
|
+
};
|
|
420
444
|
}>> & Readonly<{
|
|
421
445
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
422
446
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -435,6 +459,7 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
435
459
|
buttons: import('../..').ButtonCompType[];
|
|
436
460
|
columns: import('../..').SchemaConfig[];
|
|
437
461
|
isTree: boolean;
|
|
462
|
+
parentKey: string;
|
|
438
463
|
isShowNumber: boolean;
|
|
439
464
|
isMultiple: boolean;
|
|
440
465
|
isPage: boolean;
|
|
@@ -450,6 +475,11 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
450
475
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
451
476
|
batchButtons: import('../..').ButtonCompType[];
|
|
452
477
|
noPadding: boolean;
|
|
478
|
+
showFilterButton: boolean;
|
|
479
|
+
showOrderButton: boolean;
|
|
480
|
+
showColumnButton: boolean;
|
|
481
|
+
showRefreshButton: boolean;
|
|
482
|
+
showFullscreenButton: boolean;
|
|
453
483
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
454
484
|
topLeftRef: HTMLDivElement;
|
|
455
485
|
keywordPanelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -655,6 +685,10 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
655
685
|
type: BooleanConstructor;
|
|
656
686
|
default: boolean;
|
|
657
687
|
};
|
|
688
|
+
parentKey: {
|
|
689
|
+
type: StringConstructor;
|
|
690
|
+
default: string;
|
|
691
|
+
};
|
|
658
692
|
isShowNumber: {
|
|
659
693
|
type: BooleanConstructor;
|
|
660
694
|
default: boolean;
|
|
@@ -723,6 +757,26 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
723
757
|
type: import('vue').PropType<"cross" | "row" | "column" | "cell">;
|
|
724
758
|
default: string;
|
|
725
759
|
};
|
|
760
|
+
showFilterButton: {
|
|
761
|
+
type: BooleanConstructor;
|
|
762
|
+
default: boolean;
|
|
763
|
+
};
|
|
764
|
+
showOrderButton: {
|
|
765
|
+
type: BooleanConstructor;
|
|
766
|
+
default: boolean;
|
|
767
|
+
};
|
|
768
|
+
showColumnButton: {
|
|
769
|
+
type: BooleanConstructor;
|
|
770
|
+
default: boolean;
|
|
771
|
+
};
|
|
772
|
+
showRefreshButton: {
|
|
773
|
+
type: BooleanConstructor;
|
|
774
|
+
default: boolean;
|
|
775
|
+
};
|
|
776
|
+
showFullscreenButton: {
|
|
777
|
+
type: BooleanConstructor;
|
|
778
|
+
default: boolean;
|
|
779
|
+
};
|
|
726
780
|
}>> & Readonly<{
|
|
727
781
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
728
782
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -738,6 +792,7 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
738
792
|
buttons: import('../..').ButtonCompType[];
|
|
739
793
|
columns: import('../..').SchemaConfig[];
|
|
740
794
|
isTree: boolean;
|
|
795
|
+
parentKey: string;
|
|
741
796
|
isShowNumber: boolean;
|
|
742
797
|
isMultiple: boolean;
|
|
743
798
|
isPage: boolean;
|
|
@@ -753,6 +808,11 @@ declare const _default: import('vue').DefineComponent<InputLayerProps, {}, {}, {
|
|
|
753
808
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
754
809
|
batchButtons: import('../..').ButtonCompType[];
|
|
755
810
|
noPadding: boolean;
|
|
811
|
+
showFilterButton: boolean;
|
|
812
|
+
showOrderButton: boolean;
|
|
813
|
+
showColumnButton: boolean;
|
|
814
|
+
showRefreshButton: boolean;
|
|
815
|
+
showFullscreenButton: boolean;
|
|
756
816
|
}> | null;
|
|
757
817
|
}, HTMLDivElement>;
|
|
758
818
|
export default _default;
|
|
@@ -21,6 +21,10 @@ declare const JTable: {
|
|
|
21
21
|
type: BooleanConstructor;
|
|
22
22
|
default: boolean;
|
|
23
23
|
};
|
|
24
|
+
parentKey: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
24
28
|
isShowNumber: {
|
|
25
29
|
type: BooleanConstructor;
|
|
26
30
|
default: boolean;
|
|
@@ -160,6 +164,7 @@ declare const JTable: {
|
|
|
160
164
|
columns: import('.').ColumnSchemaConfig[];
|
|
161
165
|
records: Record<string, any>[];
|
|
162
166
|
isTree: boolean;
|
|
167
|
+
parentKey: string;
|
|
163
168
|
isShowNumber: boolean;
|
|
164
169
|
isMultiple: boolean;
|
|
165
170
|
isPage: boolean;
|
|
@@ -213,6 +218,10 @@ declare const JTable: {
|
|
|
213
218
|
type: BooleanConstructor;
|
|
214
219
|
default: boolean;
|
|
215
220
|
};
|
|
221
|
+
parentKey: {
|
|
222
|
+
type: StringConstructor;
|
|
223
|
+
default: string;
|
|
224
|
+
};
|
|
216
225
|
isShowNumber: {
|
|
217
226
|
type: BooleanConstructor;
|
|
218
227
|
default: boolean;
|
|
@@ -333,6 +342,7 @@ declare const JTable: {
|
|
|
333
342
|
columns: import('.').ColumnSchemaConfig[];
|
|
334
343
|
records: Record<string, any>[];
|
|
335
344
|
isTree: boolean;
|
|
345
|
+
parentKey: string;
|
|
336
346
|
isShowNumber: boolean;
|
|
337
347
|
isMultiple: boolean;
|
|
338
348
|
isPage: boolean;
|
|
@@ -381,6 +391,10 @@ declare const JTable: {
|
|
|
381
391
|
type: BooleanConstructor;
|
|
382
392
|
default: boolean;
|
|
383
393
|
};
|
|
394
|
+
parentKey: {
|
|
395
|
+
type: StringConstructor;
|
|
396
|
+
default: string;
|
|
397
|
+
};
|
|
384
398
|
isShowNumber: {
|
|
385
399
|
type: BooleanConstructor;
|
|
386
400
|
default: boolean;
|
|
@@ -520,6 +534,7 @@ declare const JTable: {
|
|
|
520
534
|
columns: import('.').ColumnSchemaConfig[];
|
|
521
535
|
records: Record<string, any>[];
|
|
522
536
|
isTree: boolean;
|
|
537
|
+
parentKey: string;
|
|
523
538
|
isShowNumber: boolean;
|
|
524
539
|
isMultiple: boolean;
|
|
525
540
|
isPage: boolean;
|
|
@@ -37,6 +37,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
37
37
|
type: BooleanConstructor;
|
|
38
38
|
default: boolean;
|
|
39
39
|
};
|
|
40
|
+
/**
|
|
41
|
+
* @zh 父级字段名(isTree 为 true 时用于将扁平数据转换成树形数据)
|
|
42
|
+
*/
|
|
43
|
+
parentKey: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
40
47
|
/**
|
|
41
48
|
* @zh 是否显示序号
|
|
42
49
|
*/
|
|
@@ -255,6 +262,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
255
262
|
type: BooleanConstructor;
|
|
256
263
|
default: boolean;
|
|
257
264
|
};
|
|
265
|
+
/**
|
|
266
|
+
* @zh 父级字段名(isTree 为 true 时用于将扁平数据转换成树形数据)
|
|
267
|
+
*/
|
|
268
|
+
parentKey: {
|
|
269
|
+
type: StringConstructor;
|
|
270
|
+
default: string;
|
|
271
|
+
};
|
|
258
272
|
/**
|
|
259
273
|
* @zh 是否显示序号
|
|
260
274
|
*/
|
|
@@ -438,6 +452,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
438
452
|
columns: ColumnSchemaConfig[];
|
|
439
453
|
records: Record<string, any>[];
|
|
440
454
|
isTree: boolean;
|
|
455
|
+
parentKey: string;
|
|
441
456
|
isShowNumber: boolean;
|
|
442
457
|
isMultiple: boolean;
|
|
443
458
|
isPage: boolean;
|
|
@@ -9,6 +9,10 @@ declare const JTablePanel: {
|
|
|
9
9
|
type: BooleanConstructor;
|
|
10
10
|
default: boolean;
|
|
11
11
|
};
|
|
12
|
+
parentKey: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
12
16
|
isShowNumber: {
|
|
13
17
|
type: BooleanConstructor;
|
|
14
18
|
default: boolean;
|
|
@@ -77,6 +81,26 @@ declare const JTablePanel: {
|
|
|
77
81
|
type: import('vue').PropType<"cross" | "row" | "column" | "cell">;
|
|
78
82
|
default: string;
|
|
79
83
|
};
|
|
84
|
+
showFilterButton: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
showOrderButton: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
showColumnButton: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
showRefreshButton: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
showFullscreenButton: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
80
104
|
}>> & Readonly<{
|
|
81
105
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
82
106
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -95,6 +119,7 @@ declare const JTablePanel: {
|
|
|
95
119
|
buttons: import('..').ButtonCompType[];
|
|
96
120
|
columns: import('..').SchemaConfig[];
|
|
97
121
|
isTree: boolean;
|
|
122
|
+
parentKey: string;
|
|
98
123
|
isShowNumber: boolean;
|
|
99
124
|
isMultiple: boolean;
|
|
100
125
|
isPage: boolean;
|
|
@@ -110,6 +135,11 @@ declare const JTablePanel: {
|
|
|
110
135
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
111
136
|
batchButtons: import('..').ButtonCompType[];
|
|
112
137
|
noPadding: boolean;
|
|
138
|
+
showFilterButton: boolean;
|
|
139
|
+
showOrderButton: boolean;
|
|
140
|
+
showColumnButton: boolean;
|
|
141
|
+
showRefreshButton: boolean;
|
|
142
|
+
showFullscreenButton: boolean;
|
|
113
143
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
114
144
|
topLeftRef: HTMLDivElement;
|
|
115
145
|
keywordPanelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -315,6 +345,10 @@ declare const JTablePanel: {
|
|
|
315
345
|
type: BooleanConstructor;
|
|
316
346
|
default: boolean;
|
|
317
347
|
};
|
|
348
|
+
parentKey: {
|
|
349
|
+
type: StringConstructor;
|
|
350
|
+
default: string;
|
|
351
|
+
};
|
|
318
352
|
isShowNumber: {
|
|
319
353
|
type: BooleanConstructor;
|
|
320
354
|
default: boolean;
|
|
@@ -383,6 +417,26 @@ declare const JTablePanel: {
|
|
|
383
417
|
type: import('vue').PropType<"cross" | "row" | "column" | "cell">;
|
|
384
418
|
default: string;
|
|
385
419
|
};
|
|
420
|
+
showFilterButton: {
|
|
421
|
+
type: BooleanConstructor;
|
|
422
|
+
default: boolean;
|
|
423
|
+
};
|
|
424
|
+
showOrderButton: {
|
|
425
|
+
type: BooleanConstructor;
|
|
426
|
+
default: boolean;
|
|
427
|
+
};
|
|
428
|
+
showColumnButton: {
|
|
429
|
+
type: BooleanConstructor;
|
|
430
|
+
default: boolean;
|
|
431
|
+
};
|
|
432
|
+
showRefreshButton: {
|
|
433
|
+
type: BooleanConstructor;
|
|
434
|
+
default: boolean;
|
|
435
|
+
};
|
|
436
|
+
showFullscreenButton: {
|
|
437
|
+
type: BooleanConstructor;
|
|
438
|
+
default: boolean;
|
|
439
|
+
};
|
|
386
440
|
}>> & Readonly<{
|
|
387
441
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
388
442
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -398,6 +452,7 @@ declare const JTablePanel: {
|
|
|
398
452
|
buttons: import('..').ButtonCompType[];
|
|
399
453
|
columns: import('..').SchemaConfig[];
|
|
400
454
|
isTree: boolean;
|
|
455
|
+
parentKey: string;
|
|
401
456
|
isShowNumber: boolean;
|
|
402
457
|
isMultiple: boolean;
|
|
403
458
|
isPage: boolean;
|
|
@@ -413,6 +468,11 @@ declare const JTablePanel: {
|
|
|
413
468
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
414
469
|
batchButtons: import('..').ButtonCompType[];
|
|
415
470
|
noPadding: boolean;
|
|
471
|
+
showFilterButton: boolean;
|
|
472
|
+
showOrderButton: boolean;
|
|
473
|
+
showColumnButton: boolean;
|
|
474
|
+
showRefreshButton: boolean;
|
|
475
|
+
showFullscreenButton: boolean;
|
|
416
476
|
}>;
|
|
417
477
|
__isFragment?: never;
|
|
418
478
|
__isTeleport?: never;
|
|
@@ -427,6 +487,10 @@ declare const JTablePanel: {
|
|
|
427
487
|
type: BooleanConstructor;
|
|
428
488
|
default: boolean;
|
|
429
489
|
};
|
|
490
|
+
parentKey: {
|
|
491
|
+
type: StringConstructor;
|
|
492
|
+
default: string;
|
|
493
|
+
};
|
|
430
494
|
isShowNumber: {
|
|
431
495
|
type: BooleanConstructor;
|
|
432
496
|
default: boolean;
|
|
@@ -495,6 +559,26 @@ declare const JTablePanel: {
|
|
|
495
559
|
type: import('vue').PropType<"cross" | "row" | "column" | "cell">;
|
|
496
560
|
default: string;
|
|
497
561
|
};
|
|
562
|
+
showFilterButton: {
|
|
563
|
+
type: BooleanConstructor;
|
|
564
|
+
default: boolean;
|
|
565
|
+
};
|
|
566
|
+
showOrderButton: {
|
|
567
|
+
type: BooleanConstructor;
|
|
568
|
+
default: boolean;
|
|
569
|
+
};
|
|
570
|
+
showColumnButton: {
|
|
571
|
+
type: BooleanConstructor;
|
|
572
|
+
default: boolean;
|
|
573
|
+
};
|
|
574
|
+
showRefreshButton: {
|
|
575
|
+
type: BooleanConstructor;
|
|
576
|
+
default: boolean;
|
|
577
|
+
};
|
|
578
|
+
showFullscreenButton: {
|
|
579
|
+
type: BooleanConstructor;
|
|
580
|
+
default: boolean;
|
|
581
|
+
};
|
|
498
582
|
}>> & Readonly<{
|
|
499
583
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
500
584
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -513,6 +597,7 @@ declare const JTablePanel: {
|
|
|
513
597
|
buttons: import('..').ButtonCompType[];
|
|
514
598
|
columns: import('..').SchemaConfig[];
|
|
515
599
|
isTree: boolean;
|
|
600
|
+
parentKey: string;
|
|
516
601
|
isShowNumber: boolean;
|
|
517
602
|
isMultiple: boolean;
|
|
518
603
|
isPage: boolean;
|
|
@@ -528,6 +613,11 @@ declare const JTablePanel: {
|
|
|
528
613
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
529
614
|
batchButtons: import('..').ButtonCompType[];
|
|
530
615
|
noPadding: boolean;
|
|
616
|
+
showFilterButton: boolean;
|
|
617
|
+
showOrderButton: boolean;
|
|
618
|
+
showColumnButton: boolean;
|
|
619
|
+
showRefreshButton: boolean;
|
|
620
|
+
showFullscreenButton: boolean;
|
|
531
621
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
532
622
|
install: (app: import('vue').App) => void;
|
|
533
623
|
};
|
|
@@ -18,6 +18,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
18
18
|
type: BooleanConstructor;
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* @zh 父级字段名(isTree 为 true 时用于将扁平数据转换成树形数据)
|
|
23
|
+
*/
|
|
24
|
+
parentKey: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
21
28
|
/**
|
|
22
29
|
* @zh 是否显示序号
|
|
23
30
|
*/
|
|
@@ -146,6 +153,41 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
146
153
|
type: PropType<"cross" | "row" | "column" | "cell">;
|
|
147
154
|
default: string;
|
|
148
155
|
};
|
|
156
|
+
/**
|
|
157
|
+
* @zh 是否显示筛选按钮(包含右侧固定筛选面板)
|
|
158
|
+
*/
|
|
159
|
+
showFilterButton: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* @zh 是否显示排序按钮
|
|
165
|
+
*/
|
|
166
|
+
showOrderButton: {
|
|
167
|
+
type: BooleanConstructor;
|
|
168
|
+
default: boolean;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* @zh 是否显示列管理按钮
|
|
172
|
+
*/
|
|
173
|
+
showColumnButton: {
|
|
174
|
+
type: BooleanConstructor;
|
|
175
|
+
default: boolean;
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* @zh 是否显示刷新按钮
|
|
179
|
+
*/
|
|
180
|
+
showRefreshButton: {
|
|
181
|
+
type: BooleanConstructor;
|
|
182
|
+
default: boolean;
|
|
183
|
+
};
|
|
184
|
+
/**
|
|
185
|
+
* @zh 是否显示全屏按钮
|
|
186
|
+
*/
|
|
187
|
+
showFullscreenButton: {
|
|
188
|
+
type: BooleanConstructor;
|
|
189
|
+
default: boolean;
|
|
190
|
+
};
|
|
149
191
|
}>, {
|
|
150
192
|
refreshData: (queryParam?: Record<string, any>) => Promise<void>;
|
|
151
193
|
resetData: () => Promise<void>;
|
|
@@ -172,6 +214,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
172
214
|
type: BooleanConstructor;
|
|
173
215
|
default: boolean;
|
|
174
216
|
};
|
|
217
|
+
/**
|
|
218
|
+
* @zh 父级字段名(isTree 为 true 时用于将扁平数据转换成树形数据)
|
|
219
|
+
*/
|
|
220
|
+
parentKey: {
|
|
221
|
+
type: StringConstructor;
|
|
222
|
+
default: string;
|
|
223
|
+
};
|
|
175
224
|
/**
|
|
176
225
|
* @zh 是否显示序号
|
|
177
226
|
*/
|
|
@@ -300,6 +349,41 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
300
349
|
type: PropType<"cross" | "row" | "column" | "cell">;
|
|
301
350
|
default: string;
|
|
302
351
|
};
|
|
352
|
+
/**
|
|
353
|
+
* @zh 是否显示筛选按钮(包含右侧固定筛选面板)
|
|
354
|
+
*/
|
|
355
|
+
showFilterButton: {
|
|
356
|
+
type: BooleanConstructor;
|
|
357
|
+
default: boolean;
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* @zh 是否显示排序按钮
|
|
361
|
+
*/
|
|
362
|
+
showOrderButton: {
|
|
363
|
+
type: BooleanConstructor;
|
|
364
|
+
default: boolean;
|
|
365
|
+
};
|
|
366
|
+
/**
|
|
367
|
+
* @zh 是否显示列管理按钮
|
|
368
|
+
*/
|
|
369
|
+
showColumnButton: {
|
|
370
|
+
type: BooleanConstructor;
|
|
371
|
+
default: boolean;
|
|
372
|
+
};
|
|
373
|
+
/**
|
|
374
|
+
* @zh 是否显示刷新按钮
|
|
375
|
+
*/
|
|
376
|
+
showRefreshButton: {
|
|
377
|
+
type: BooleanConstructor;
|
|
378
|
+
default: boolean;
|
|
379
|
+
};
|
|
380
|
+
/**
|
|
381
|
+
* @zh 是否显示全屏按钮
|
|
382
|
+
*/
|
|
383
|
+
showFullscreenButton: {
|
|
384
|
+
type: BooleanConstructor;
|
|
385
|
+
default: boolean;
|
|
386
|
+
};
|
|
303
387
|
}>> & Readonly<{
|
|
304
388
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
305
389
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
@@ -308,6 +392,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
308
392
|
buttons: ButtonCompType[];
|
|
309
393
|
columns: SchemaConfig[];
|
|
310
394
|
isTree: boolean;
|
|
395
|
+
parentKey: string;
|
|
311
396
|
isShowNumber: boolean;
|
|
312
397
|
isMultiple: boolean;
|
|
313
398
|
isPage: boolean;
|
|
@@ -323,6 +408,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
323
408
|
loadChildren: (record: Record<string, any>) => Promise<any[]>;
|
|
324
409
|
batchButtons: ButtonCompType[];
|
|
325
410
|
noPadding: boolean;
|
|
411
|
+
showFilterButton: boolean;
|
|
412
|
+
showOrderButton: boolean;
|
|
413
|
+
showColumnButton: boolean;
|
|
414
|
+
showRefreshButton: boolean;
|
|
415
|
+
showFullscreenButton: boolean;
|
|
326
416
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
327
417
|
topLeftRef: HTMLDivElement;
|
|
328
418
|
keywordPanelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|