@sdata/web-vue 5.1.1 → 5.2.0
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/sd.css +37 -0
- package/dist/sd.min.css +1 -1
- package/es/config-provider/config-provider.vue.d.ts +7 -1
- package/es/config-provider/config-provider.vue_vue_type_script_setup_true_lang.js +7 -1
- package/es/config-provider/context.d.ts +21 -0
- package/es/config-provider/index.d.ts +10 -1
- package/es/index.css +37 -0
- package/es/index.d.ts +1 -1
- package/es/model-selector/context.d.ts +3 -0
- package/es/model-selector/index.d.ts +6 -0
- package/es/model-selector/model-selector-dialog.vue.d.ts +1 -0
- package/es/model-selector/model-selector-dialog.vue_vue_type_script_setup_true_lang.js +6 -0
- package/es/model-selector/model-selector-group.vue.d.ts +2 -2
- package/es/model-selector/model-selector-group.vue_vue_type_script_setup_true_lang.js +37 -4
- package/es/model-selector/model-selector.vue.d.ts +1 -0
- package/es/model-selector/model-selector.vue_vue_type_script_setup_true_lang.js +29 -5
- package/es/model-selector/style/index.css +37 -0
- package/es/model-selector/style/index.scss +49 -3
- package/es/table/index.d.ts +54 -45
- package/es/table/table-th.vue.d.ts +3 -1
- package/es/table/table-th.vue_vue_type_script_setup_true_lang.js +9 -3
- package/es/table/table.vue.d.ts +30 -28
- package/es/table/table.vue_vue_type_script_setup_true_lang.js +66 -18
- package/json/vetur-attributes.json +7 -0
- package/json/vetur-tags.json +2 -0
- package/json/web-types.json +17 -1
- package/package.json +1 -1
package/es/table/index.d.ts
CHANGED
|
@@ -19,15 +19,15 @@ declare const Table: {
|
|
|
19
19
|
};
|
|
20
20
|
bordered: {
|
|
21
21
|
type: import("vue").PropType<boolean | import("./interface").TableBorder>;
|
|
22
|
-
default: boolean;
|
|
22
|
+
default: () => boolean | import("./interface").TableBorder;
|
|
23
23
|
};
|
|
24
24
|
hoverable: {
|
|
25
25
|
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
26
|
+
default: () => boolean;
|
|
27
27
|
};
|
|
28
28
|
stripe: {
|
|
29
29
|
type: BooleanConstructor;
|
|
30
|
-
default: boolean;
|
|
30
|
+
default: () => boolean;
|
|
31
31
|
};
|
|
32
32
|
size: {
|
|
33
33
|
type: import("vue").PropType<import("..").Size>;
|
|
@@ -35,7 +35,7 @@ declare const Table: {
|
|
|
35
35
|
};
|
|
36
36
|
tableLayoutFixed: {
|
|
37
37
|
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
38
|
+
default: () => boolean;
|
|
39
39
|
};
|
|
40
40
|
loading: {
|
|
41
41
|
type: import("vue").PropType<boolean | import("..").SpinProps>;
|
|
@@ -60,15 +60,15 @@ declare const Table: {
|
|
|
60
60
|
};
|
|
61
61
|
pagination: {
|
|
62
62
|
type: import("vue").PropType<boolean | import("..").PaginationProps>;
|
|
63
|
-
default: boolean;
|
|
63
|
+
default: () => boolean | import("..").PaginationProps;
|
|
64
64
|
};
|
|
65
65
|
pagePosition: {
|
|
66
66
|
type: import("vue").PropType<import("./interface").TablePagePosition>;
|
|
67
|
-
default:
|
|
67
|
+
default: () => "bl" | "bottom" | "br" | "tl" | "top" | "tr";
|
|
68
68
|
};
|
|
69
69
|
indentSize: {
|
|
70
70
|
type: NumberConstructor;
|
|
71
|
-
default: number;
|
|
71
|
+
default: () => number;
|
|
72
72
|
};
|
|
73
73
|
rowKey: {
|
|
74
74
|
type: import("vue").PropType<string | ((record: import("./interface").TableData) => import("../_utils/types").BaseType)>;
|
|
@@ -76,7 +76,7 @@ declare const Table: {
|
|
|
76
76
|
};
|
|
77
77
|
showHeader: {
|
|
78
78
|
type: BooleanConstructor;
|
|
79
|
-
default: boolean;
|
|
79
|
+
default: () => boolean;
|
|
80
80
|
};
|
|
81
81
|
virtualListProps: {
|
|
82
82
|
type: import("vue").PropType<import("../_components/virtual-list/interface").VirtualListProps>;
|
|
@@ -104,11 +104,11 @@ declare const Table: {
|
|
|
104
104
|
};
|
|
105
105
|
filterIconAlignLeft: {
|
|
106
106
|
type: BooleanConstructor;
|
|
107
|
-
default: boolean;
|
|
107
|
+
default: () => boolean;
|
|
108
108
|
};
|
|
109
109
|
hideExpandButtonOnEmpty: {
|
|
110
110
|
type: BooleanConstructor;
|
|
111
|
-
default: boolean;
|
|
111
|
+
default: () => boolean;
|
|
112
112
|
};
|
|
113
113
|
rowClass: {
|
|
114
114
|
type: import("vue").PropType<string | any[] | Record<string, any> | ((record: import("./interface").TableData, rowIndex: number) => any)>;
|
|
@@ -121,6 +121,7 @@ declare const Table: {
|
|
|
121
121
|
};
|
|
122
122
|
columnResizable: {
|
|
123
123
|
type: BooleanConstructor;
|
|
124
|
+
default: () => boolean;
|
|
124
125
|
};
|
|
125
126
|
summary: {
|
|
126
127
|
type: import("vue").PropType<boolean | ((params: {
|
|
@@ -130,7 +131,7 @@ declare const Table: {
|
|
|
130
131
|
};
|
|
131
132
|
summaryText: {
|
|
132
133
|
type: StringConstructor;
|
|
133
|
-
default: string;
|
|
134
|
+
default: () => string;
|
|
134
135
|
};
|
|
135
136
|
summarySpanMethod: {
|
|
136
137
|
type: import("vue").PropType<(data: {
|
|
@@ -161,15 +162,15 @@ declare const Table: {
|
|
|
161
162
|
};
|
|
162
163
|
stickyHeader: {
|
|
163
164
|
type: (BooleanConstructor | NumberConstructor)[];
|
|
164
|
-
default: boolean;
|
|
165
|
+
default: () => number | boolean;
|
|
165
166
|
};
|
|
166
167
|
scrollbar: {
|
|
167
168
|
type: import("vue").PropType<boolean | import("..").ScrollbarProps>;
|
|
168
|
-
default: boolean;
|
|
169
|
+
default: () => boolean | import("..").ScrollbarProps;
|
|
169
170
|
};
|
|
170
171
|
showEmptyTree: {
|
|
171
172
|
type: BooleanConstructor;
|
|
172
|
-
default: boolean;
|
|
173
|
+
default: () => boolean;
|
|
173
174
|
};
|
|
174
175
|
}>> & Readonly<{
|
|
175
176
|
onCellClick?: ((_record: import("./interface").TableData, _column: import("./interface").TableColumnData, _ev: Event) => any) | undefined;
|
|
@@ -275,15 +276,15 @@ declare const Table: {
|
|
|
275
276
|
};
|
|
276
277
|
bordered: {
|
|
277
278
|
type: import("vue").PropType<boolean | import("./interface").TableBorder>;
|
|
278
|
-
default: boolean;
|
|
279
|
+
default: () => boolean | import("./interface").TableBorder;
|
|
279
280
|
};
|
|
280
281
|
hoverable: {
|
|
281
282
|
type: BooleanConstructor;
|
|
282
|
-
default: boolean;
|
|
283
|
+
default: () => boolean;
|
|
283
284
|
};
|
|
284
285
|
stripe: {
|
|
285
286
|
type: BooleanConstructor;
|
|
286
|
-
default: boolean;
|
|
287
|
+
default: () => boolean;
|
|
287
288
|
};
|
|
288
289
|
size: {
|
|
289
290
|
type: import("vue").PropType<import("..").Size>;
|
|
@@ -291,7 +292,7 @@ declare const Table: {
|
|
|
291
292
|
};
|
|
292
293
|
tableLayoutFixed: {
|
|
293
294
|
type: BooleanConstructor;
|
|
294
|
-
default: boolean;
|
|
295
|
+
default: () => boolean;
|
|
295
296
|
};
|
|
296
297
|
loading: {
|
|
297
298
|
type: import("vue").PropType<boolean | import("..").SpinProps>;
|
|
@@ -316,15 +317,15 @@ declare const Table: {
|
|
|
316
317
|
};
|
|
317
318
|
pagination: {
|
|
318
319
|
type: import("vue").PropType<boolean | import("..").PaginationProps>;
|
|
319
|
-
default: boolean;
|
|
320
|
+
default: () => boolean | import("..").PaginationProps;
|
|
320
321
|
};
|
|
321
322
|
pagePosition: {
|
|
322
323
|
type: import("vue").PropType<import("./interface").TablePagePosition>;
|
|
323
|
-
default:
|
|
324
|
+
default: () => "bl" | "bottom" | "br" | "tl" | "top" | "tr";
|
|
324
325
|
};
|
|
325
326
|
indentSize: {
|
|
326
327
|
type: NumberConstructor;
|
|
327
|
-
default: number;
|
|
328
|
+
default: () => number;
|
|
328
329
|
};
|
|
329
330
|
rowKey: {
|
|
330
331
|
type: import("vue").PropType<string | ((record: import("./interface").TableData) => import("../_utils/types").BaseType)>;
|
|
@@ -332,7 +333,7 @@ declare const Table: {
|
|
|
332
333
|
};
|
|
333
334
|
showHeader: {
|
|
334
335
|
type: BooleanConstructor;
|
|
335
|
-
default: boolean;
|
|
336
|
+
default: () => boolean;
|
|
336
337
|
};
|
|
337
338
|
virtualListProps: {
|
|
338
339
|
type: import("vue").PropType<import("../_components/virtual-list/interface").VirtualListProps>;
|
|
@@ -360,11 +361,11 @@ declare const Table: {
|
|
|
360
361
|
};
|
|
361
362
|
filterIconAlignLeft: {
|
|
362
363
|
type: BooleanConstructor;
|
|
363
|
-
default: boolean;
|
|
364
|
+
default: () => boolean;
|
|
364
365
|
};
|
|
365
366
|
hideExpandButtonOnEmpty: {
|
|
366
367
|
type: BooleanConstructor;
|
|
367
|
-
default: boolean;
|
|
368
|
+
default: () => boolean;
|
|
368
369
|
};
|
|
369
370
|
rowClass: {
|
|
370
371
|
type: import("vue").PropType<string | any[] | Record<string, any> | ((record: import("./interface").TableData, rowIndex: number) => any)>;
|
|
@@ -377,6 +378,7 @@ declare const Table: {
|
|
|
377
378
|
};
|
|
378
379
|
columnResizable: {
|
|
379
380
|
type: BooleanConstructor;
|
|
381
|
+
default: () => boolean;
|
|
380
382
|
};
|
|
381
383
|
summary: {
|
|
382
384
|
type: import("vue").PropType<boolean | ((params: {
|
|
@@ -386,7 +388,7 @@ declare const Table: {
|
|
|
386
388
|
};
|
|
387
389
|
summaryText: {
|
|
388
390
|
type: StringConstructor;
|
|
389
|
-
default: string;
|
|
391
|
+
default: () => string;
|
|
390
392
|
};
|
|
391
393
|
summarySpanMethod: {
|
|
392
394
|
type: import("vue").PropType<(data: {
|
|
@@ -417,15 +419,15 @@ declare const Table: {
|
|
|
417
419
|
};
|
|
418
420
|
stickyHeader: {
|
|
419
421
|
type: (BooleanConstructor | NumberConstructor)[];
|
|
420
|
-
default: boolean;
|
|
422
|
+
default: () => number | boolean;
|
|
421
423
|
};
|
|
422
424
|
scrollbar: {
|
|
423
425
|
type: import("vue").PropType<boolean | import("..").ScrollbarProps>;
|
|
424
|
-
default: boolean;
|
|
426
|
+
default: () => boolean | import("..").ScrollbarProps;
|
|
425
427
|
};
|
|
426
428
|
showEmptyTree: {
|
|
427
429
|
type: BooleanConstructor;
|
|
428
|
-
default: boolean;
|
|
430
|
+
default: () => boolean;
|
|
429
431
|
};
|
|
430
432
|
}>> & Readonly<{
|
|
431
433
|
onCellClick?: ((_record: import("./interface").TableData, _column: import("./interface").TableColumnData, _ev: Event) => any) | undefined;
|
|
@@ -505,15 +507,15 @@ declare const Table: {
|
|
|
505
507
|
};
|
|
506
508
|
bordered: {
|
|
507
509
|
type: import("vue").PropType<boolean | import("./interface").TableBorder>;
|
|
508
|
-
default: boolean;
|
|
510
|
+
default: () => boolean | import("./interface").TableBorder;
|
|
509
511
|
};
|
|
510
512
|
hoverable: {
|
|
511
513
|
type: BooleanConstructor;
|
|
512
|
-
default: boolean;
|
|
514
|
+
default: () => boolean;
|
|
513
515
|
};
|
|
514
516
|
stripe: {
|
|
515
517
|
type: BooleanConstructor;
|
|
516
|
-
default: boolean;
|
|
518
|
+
default: () => boolean;
|
|
517
519
|
};
|
|
518
520
|
size: {
|
|
519
521
|
type: import("vue").PropType<import("..").Size>;
|
|
@@ -521,7 +523,7 @@ declare const Table: {
|
|
|
521
523
|
};
|
|
522
524
|
tableLayoutFixed: {
|
|
523
525
|
type: BooleanConstructor;
|
|
524
|
-
default: boolean;
|
|
526
|
+
default: () => boolean;
|
|
525
527
|
};
|
|
526
528
|
loading: {
|
|
527
529
|
type: import("vue").PropType<boolean | import("..").SpinProps>;
|
|
@@ -546,15 +548,15 @@ declare const Table: {
|
|
|
546
548
|
};
|
|
547
549
|
pagination: {
|
|
548
550
|
type: import("vue").PropType<boolean | import("..").PaginationProps>;
|
|
549
|
-
default: boolean;
|
|
551
|
+
default: () => boolean | import("..").PaginationProps;
|
|
550
552
|
};
|
|
551
553
|
pagePosition: {
|
|
552
554
|
type: import("vue").PropType<import("./interface").TablePagePosition>;
|
|
553
|
-
default:
|
|
555
|
+
default: () => "bl" | "bottom" | "br" | "tl" | "top" | "tr";
|
|
554
556
|
};
|
|
555
557
|
indentSize: {
|
|
556
558
|
type: NumberConstructor;
|
|
557
|
-
default: number;
|
|
559
|
+
default: () => number;
|
|
558
560
|
};
|
|
559
561
|
rowKey: {
|
|
560
562
|
type: import("vue").PropType<string | ((record: import("./interface").TableData) => import("../_utils/types").BaseType)>;
|
|
@@ -562,7 +564,7 @@ declare const Table: {
|
|
|
562
564
|
};
|
|
563
565
|
showHeader: {
|
|
564
566
|
type: BooleanConstructor;
|
|
565
|
-
default: boolean;
|
|
567
|
+
default: () => boolean;
|
|
566
568
|
};
|
|
567
569
|
virtualListProps: {
|
|
568
570
|
type: import("vue").PropType<import("../_components/virtual-list/interface").VirtualListProps>;
|
|
@@ -590,11 +592,11 @@ declare const Table: {
|
|
|
590
592
|
};
|
|
591
593
|
filterIconAlignLeft: {
|
|
592
594
|
type: BooleanConstructor;
|
|
593
|
-
default: boolean;
|
|
595
|
+
default: () => boolean;
|
|
594
596
|
};
|
|
595
597
|
hideExpandButtonOnEmpty: {
|
|
596
598
|
type: BooleanConstructor;
|
|
597
|
-
default: boolean;
|
|
599
|
+
default: () => boolean;
|
|
598
600
|
};
|
|
599
601
|
rowClass: {
|
|
600
602
|
type: import("vue").PropType<string | any[] | Record<string, any> | ((record: import("./interface").TableData, rowIndex: number) => any)>;
|
|
@@ -607,6 +609,7 @@ declare const Table: {
|
|
|
607
609
|
};
|
|
608
610
|
columnResizable: {
|
|
609
611
|
type: BooleanConstructor;
|
|
612
|
+
default: () => boolean;
|
|
610
613
|
};
|
|
611
614
|
summary: {
|
|
612
615
|
type: import("vue").PropType<boolean | ((params: {
|
|
@@ -616,7 +619,7 @@ declare const Table: {
|
|
|
616
619
|
};
|
|
617
620
|
summaryText: {
|
|
618
621
|
type: StringConstructor;
|
|
619
|
-
default: string;
|
|
622
|
+
default: () => string;
|
|
620
623
|
};
|
|
621
624
|
summarySpanMethod: {
|
|
622
625
|
type: import("vue").PropType<(data: {
|
|
@@ -647,15 +650,15 @@ declare const Table: {
|
|
|
647
650
|
};
|
|
648
651
|
stickyHeader: {
|
|
649
652
|
type: (BooleanConstructor | NumberConstructor)[];
|
|
650
|
-
default: boolean;
|
|
653
|
+
default: () => number | boolean;
|
|
651
654
|
};
|
|
652
655
|
scrollbar: {
|
|
653
656
|
type: import("vue").PropType<boolean | import("..").ScrollbarProps>;
|
|
654
|
-
default: boolean;
|
|
657
|
+
default: () => boolean | import("..").ScrollbarProps;
|
|
655
658
|
};
|
|
656
659
|
showEmptyTree: {
|
|
657
660
|
type: BooleanConstructor;
|
|
658
|
-
default: boolean;
|
|
661
|
+
default: () => boolean;
|
|
659
662
|
};
|
|
660
663
|
}>> & Readonly<{
|
|
661
664
|
onCellClick?: ((_record: import("./interface").TableData, _column: import("./interface").TableColumnData, _ev: Event) => any) | undefined;
|
|
@@ -849,7 +852,9 @@ declare const Table: {
|
|
|
849
852
|
default: () => never[];
|
|
850
853
|
};
|
|
851
854
|
resizable: BooleanConstructor;
|
|
852
|
-
}>> & Readonly<{}>, {
|
|
855
|
+
}>> & Readonly<{}>, {
|
|
856
|
+
getThElement: () => HTMLElement | undefined;
|
|
857
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
853
858
|
column: import("./interface").TableColumnData;
|
|
854
859
|
operations: import("./interface").TableOperationColumn[];
|
|
855
860
|
dataColumns: import("./interface").TableColumnData[];
|
|
@@ -875,7 +880,9 @@ declare const Table: {
|
|
|
875
880
|
default: () => never[];
|
|
876
881
|
};
|
|
877
882
|
resizable: BooleanConstructor;
|
|
878
|
-
}>> & Readonly<{}>, {
|
|
883
|
+
}>> & Readonly<{}>, {
|
|
884
|
+
getThElement: () => HTMLElement | undefined;
|
|
885
|
+
}, {}, {}, {}, {
|
|
879
886
|
column: import("./interface").TableColumnData;
|
|
880
887
|
operations: import("./interface").TableOperationColumn[];
|
|
881
888
|
dataColumns: import("./interface").TableColumnData[];
|
|
@@ -898,7 +905,9 @@ declare const Table: {
|
|
|
898
905
|
default: () => never[];
|
|
899
906
|
};
|
|
900
907
|
resizable: BooleanConstructor;
|
|
901
|
-
}>> & Readonly<{}>, {
|
|
908
|
+
}>> & Readonly<{}>, {
|
|
909
|
+
getThElement: () => HTMLElement | undefined;
|
|
910
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
902
911
|
column: import("./interface").TableColumnData;
|
|
903
912
|
operations: import("./interface").TableOperationColumn[];
|
|
904
913
|
dataColumns: import("./interface").TableColumnData[];
|
|
@@ -20,7 +20,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
20
20
|
default: () => never[];
|
|
21
21
|
};
|
|
22
22
|
resizable: BooleanConstructor;
|
|
23
|
-
}>, {
|
|
23
|
+
}>, {
|
|
24
|
+
getThElement: () => HTMLElement | undefined;
|
|
25
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
26
|
column: {
|
|
25
27
|
type: PropType<TableColumnData>;
|
|
26
28
|
default: () => {};
|
|
@@ -16,7 +16,7 @@ import IconFilter from "../icon/icon-filter/index.js";
|
|
|
16
16
|
import Radio from "../radio/index.js";
|
|
17
17
|
import { useColumnFilter } from "./hooks/use-column-filter.js";
|
|
18
18
|
import { useColumnSorter } from "./hooks/use-column-sorter.js";
|
|
19
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, normalizeClass, openBlock, renderList, resolveDynamicComponent, toDisplayString, toRef, unref, useSlots, withCtx, withModifiers } from "vue";
|
|
19
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, mergeProps, normalizeClass, openBlock, renderList, resolveDynamicComponent, shallowRef, toDisplayString, toRef, unref, useSlots, withCtx, withModifiers } from "vue";
|
|
20
20
|
import { createReusableTemplate } from "@vueuse/core";
|
|
21
21
|
//#region components/table/table-th.vue?vue&type=script&setup=true&lang.ts
|
|
22
22
|
var _hoisted_1 = ["role", "tabindex"];
|
|
@@ -40,11 +40,17 @@ var table_th_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
40
40
|
},
|
|
41
41
|
resizable: Boolean
|
|
42
42
|
},
|
|
43
|
-
setup(__props) {
|
|
43
|
+
setup(__props, { expose: __expose }) {
|
|
44
44
|
const props = __props;
|
|
45
45
|
const slots = useSlots();
|
|
46
46
|
const column = toRef(props, "column");
|
|
47
47
|
const prefixCls = getPrefixCls("table");
|
|
48
|
+
const thElement = shallowRef();
|
|
49
|
+
const setThElement = (instance) => {
|
|
50
|
+
const element = instance && "$el" in instance ? instance.$el : instance;
|
|
51
|
+
thElement.value = element instanceof HTMLElement ? element : void 0;
|
|
52
|
+
};
|
|
53
|
+
__expose({ getThElement: () => thElement.value });
|
|
48
54
|
const { t } = useI18n();
|
|
49
55
|
const tableCtx = inject(tableInjectionKey, {});
|
|
50
56
|
const VNodeRenderer = ({ content }) => content;
|
|
@@ -222,7 +228,7 @@ var table_th_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
|
|
|
222
228
|
])) : createCommentVNode("", true)];
|
|
223
229
|
}),
|
|
224
230
|
_: 1
|
|
225
|
-
}), (openBlock(), createBlock(resolveDynamicComponent(getThComponent()), mergeProps(_ctx.$attrs, {
|
|
231
|
+
}), (openBlock(), createBlock(resolveDynamicComponent(getThComponent()), mergeProps({ ref: setThElement }, _ctx.$attrs, {
|
|
226
232
|
class: cls.value,
|
|
227
233
|
style: style.value,
|
|
228
234
|
role: "columnheader",
|
package/es/table/table.vue.d.ts
CHANGED
|
@@ -17,15 +17,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
17
17
|
};
|
|
18
18
|
bordered: {
|
|
19
19
|
type: PropType<boolean | TableBorder>;
|
|
20
|
-
default: boolean;
|
|
20
|
+
default: () => boolean | TableBorder;
|
|
21
21
|
};
|
|
22
22
|
hoverable: {
|
|
23
23
|
type: BooleanConstructor;
|
|
24
|
-
default: boolean;
|
|
24
|
+
default: () => boolean;
|
|
25
25
|
};
|
|
26
26
|
stripe: {
|
|
27
27
|
type: BooleanConstructor;
|
|
28
|
-
default: boolean;
|
|
28
|
+
default: () => boolean;
|
|
29
29
|
};
|
|
30
30
|
size: {
|
|
31
31
|
type: PropType<Size>;
|
|
@@ -33,7 +33,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
33
33
|
};
|
|
34
34
|
tableLayoutFixed: {
|
|
35
35
|
type: BooleanConstructor;
|
|
36
|
-
default: boolean;
|
|
36
|
+
default: () => boolean;
|
|
37
37
|
};
|
|
38
38
|
loading: {
|
|
39
39
|
type: PropType<boolean | SpinProps>;
|
|
@@ -58,15 +58,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
58
58
|
};
|
|
59
59
|
pagination: {
|
|
60
60
|
type: PropType<boolean | PaginationProps>;
|
|
61
|
-
default: boolean;
|
|
61
|
+
default: () => boolean | PaginationProps;
|
|
62
62
|
};
|
|
63
63
|
pagePosition: {
|
|
64
64
|
type: PropType<TablePagePosition>;
|
|
65
|
-
default:
|
|
65
|
+
default: () => "bl" | "bottom" | "br" | "tl" | "top" | "tr";
|
|
66
66
|
};
|
|
67
67
|
indentSize: {
|
|
68
68
|
type: NumberConstructor;
|
|
69
|
-
default: number;
|
|
69
|
+
default: () => number;
|
|
70
70
|
};
|
|
71
71
|
rowKey: {
|
|
72
72
|
type: PropType<string | ((record: TableData) => BaseType)>;
|
|
@@ -74,7 +74,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
74
74
|
};
|
|
75
75
|
showHeader: {
|
|
76
76
|
type: BooleanConstructor;
|
|
77
|
-
default: boolean;
|
|
77
|
+
default: () => boolean;
|
|
78
78
|
};
|
|
79
79
|
virtualListProps: {
|
|
80
80
|
type: PropType<VirtualListProps>;
|
|
@@ -102,11 +102,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
102
102
|
};
|
|
103
103
|
filterIconAlignLeft: {
|
|
104
104
|
type: BooleanConstructor;
|
|
105
|
-
default: boolean;
|
|
105
|
+
default: () => boolean;
|
|
106
106
|
};
|
|
107
107
|
hideExpandButtonOnEmpty: {
|
|
108
108
|
type: BooleanConstructor;
|
|
109
|
-
default: boolean;
|
|
109
|
+
default: () => boolean;
|
|
110
110
|
};
|
|
111
111
|
rowClass: {
|
|
112
112
|
type: PropType<string | any[] | Record<string, any> | ((record: TableData, rowIndex: number) => any)>;
|
|
@@ -119,6 +119,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
119
119
|
};
|
|
120
120
|
columnResizable: {
|
|
121
121
|
type: BooleanConstructor;
|
|
122
|
+
default: () => boolean;
|
|
122
123
|
};
|
|
123
124
|
summary: {
|
|
124
125
|
type: PropType<boolean | ((params: {
|
|
@@ -128,7 +129,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
128
129
|
};
|
|
129
130
|
summaryText: {
|
|
130
131
|
type: StringConstructor;
|
|
131
|
-
default: string;
|
|
132
|
+
default: () => string;
|
|
132
133
|
};
|
|
133
134
|
summarySpanMethod: {
|
|
134
135
|
type: PropType<(data: {
|
|
@@ -159,15 +160,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
159
160
|
};
|
|
160
161
|
stickyHeader: {
|
|
161
162
|
type: (BooleanConstructor | NumberConstructor)[];
|
|
162
|
-
default: boolean;
|
|
163
|
+
default: () => number | boolean;
|
|
163
164
|
};
|
|
164
165
|
scrollbar: {
|
|
165
166
|
type: PropType<boolean | ScrollbarProps>;
|
|
166
|
-
default: boolean;
|
|
167
|
+
default: () => boolean | ScrollbarProps;
|
|
167
168
|
};
|
|
168
169
|
showEmptyTree: {
|
|
169
170
|
type: BooleanConstructor;
|
|
170
|
-
default: boolean;
|
|
171
|
+
default: () => boolean;
|
|
171
172
|
};
|
|
172
173
|
}>, {
|
|
173
174
|
selectAll: (checked?: boolean) => void;
|
|
@@ -213,15 +214,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
213
214
|
};
|
|
214
215
|
bordered: {
|
|
215
216
|
type: PropType<boolean | TableBorder>;
|
|
216
|
-
default: boolean;
|
|
217
|
+
default: () => boolean | TableBorder;
|
|
217
218
|
};
|
|
218
219
|
hoverable: {
|
|
219
220
|
type: BooleanConstructor;
|
|
220
|
-
default: boolean;
|
|
221
|
+
default: () => boolean;
|
|
221
222
|
};
|
|
222
223
|
stripe: {
|
|
223
224
|
type: BooleanConstructor;
|
|
224
|
-
default: boolean;
|
|
225
|
+
default: () => boolean;
|
|
225
226
|
};
|
|
226
227
|
size: {
|
|
227
228
|
type: PropType<Size>;
|
|
@@ -229,7 +230,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
229
230
|
};
|
|
230
231
|
tableLayoutFixed: {
|
|
231
232
|
type: BooleanConstructor;
|
|
232
|
-
default: boolean;
|
|
233
|
+
default: () => boolean;
|
|
233
234
|
};
|
|
234
235
|
loading: {
|
|
235
236
|
type: PropType<boolean | SpinProps>;
|
|
@@ -254,15 +255,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
254
255
|
};
|
|
255
256
|
pagination: {
|
|
256
257
|
type: PropType<boolean | PaginationProps>;
|
|
257
|
-
default: boolean;
|
|
258
|
+
default: () => boolean | PaginationProps;
|
|
258
259
|
};
|
|
259
260
|
pagePosition: {
|
|
260
261
|
type: PropType<TablePagePosition>;
|
|
261
|
-
default:
|
|
262
|
+
default: () => "bl" | "bottom" | "br" | "tl" | "top" | "tr";
|
|
262
263
|
};
|
|
263
264
|
indentSize: {
|
|
264
265
|
type: NumberConstructor;
|
|
265
|
-
default: number;
|
|
266
|
+
default: () => number;
|
|
266
267
|
};
|
|
267
268
|
rowKey: {
|
|
268
269
|
type: PropType<string | ((record: TableData) => BaseType)>;
|
|
@@ -270,7 +271,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
270
271
|
};
|
|
271
272
|
showHeader: {
|
|
272
273
|
type: BooleanConstructor;
|
|
273
|
-
default: boolean;
|
|
274
|
+
default: () => boolean;
|
|
274
275
|
};
|
|
275
276
|
virtualListProps: {
|
|
276
277
|
type: PropType<VirtualListProps>;
|
|
@@ -298,11 +299,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
298
299
|
};
|
|
299
300
|
filterIconAlignLeft: {
|
|
300
301
|
type: BooleanConstructor;
|
|
301
|
-
default: boolean;
|
|
302
|
+
default: () => boolean;
|
|
302
303
|
};
|
|
303
304
|
hideExpandButtonOnEmpty: {
|
|
304
305
|
type: BooleanConstructor;
|
|
305
|
-
default: boolean;
|
|
306
|
+
default: () => boolean;
|
|
306
307
|
};
|
|
307
308
|
rowClass: {
|
|
308
309
|
type: PropType<string | any[] | Record<string, any> | ((record: TableData, rowIndex: number) => any)>;
|
|
@@ -315,6 +316,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
315
316
|
};
|
|
316
317
|
columnResizable: {
|
|
317
318
|
type: BooleanConstructor;
|
|
319
|
+
default: () => boolean;
|
|
318
320
|
};
|
|
319
321
|
summary: {
|
|
320
322
|
type: PropType<boolean | ((params: {
|
|
@@ -324,7 +326,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
324
326
|
};
|
|
325
327
|
summaryText: {
|
|
326
328
|
type: StringConstructor;
|
|
327
|
-
default: string;
|
|
329
|
+
default: () => string;
|
|
328
330
|
};
|
|
329
331
|
summarySpanMethod: {
|
|
330
332
|
type: PropType<(data: {
|
|
@@ -355,15 +357,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
355
357
|
};
|
|
356
358
|
stickyHeader: {
|
|
357
359
|
type: (BooleanConstructor | NumberConstructor)[];
|
|
358
|
-
default: boolean;
|
|
360
|
+
default: () => number | boolean;
|
|
359
361
|
};
|
|
360
362
|
scrollbar: {
|
|
361
363
|
type: PropType<boolean | ScrollbarProps>;
|
|
362
|
-
default: boolean;
|
|
364
|
+
default: () => boolean | ScrollbarProps;
|
|
363
365
|
};
|
|
364
366
|
showEmptyTree: {
|
|
365
367
|
type: BooleanConstructor;
|
|
366
|
-
default: boolean;
|
|
368
|
+
default: () => boolean;
|
|
367
369
|
};
|
|
368
370
|
}>> & Readonly<{
|
|
369
371
|
onCellClick?: ((_record: TableData, _column: TableColumnData, _ev: Event) => any) | undefined;
|