voiptime-components 0.0.13 → 0.0.15
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.cjs.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +141 -100
- package/dist/index.es.js +1017 -932
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,121 +1,153 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
+
import { Component } from 'vue';
|
|
2
3
|
import { ComponentOptionsMixin } from 'vue';
|
|
3
4
|
import { ComponentProvideOptions } from 'vue';
|
|
4
5
|
import { DefineComponent } from 'vue';
|
|
5
6
|
import { ObjectDirective } from 'vue';
|
|
6
7
|
import { PublicProps } from 'vue';
|
|
8
|
+
import { VNode } from 'vue';
|
|
7
9
|
|
|
8
10
|
declare const __VLS_component: DefineComponent<VButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
9
|
-
click: (event: MouseEvent) => any;
|
|
11
|
+
click: (event: MouseEvent) => any;
|
|
10
12
|
}, string, PublicProps, Readonly<VButtonProps> & Readonly<{
|
|
11
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
13
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
12
14
|
}>, {
|
|
13
|
-
type: VButtonType;
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
loading: boolean;
|
|
16
|
-
tooltip: boolean;
|
|
17
|
-
tooltipPlacement: TooltipPlacement;
|
|
18
|
-
htmlType: "button" | "submit" | "reset";
|
|
19
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
15
|
+
type: VButtonType;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
tooltip: boolean;
|
|
19
|
+
tooltipPlacement: TooltipPlacement;
|
|
20
|
+
htmlType: "button" | "submit" | "reset";
|
|
21
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
20
22
|
|
|
21
23
|
declare const __VLS_component_2: DefineComponent<VModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
22
|
-
close: () => any;
|
|
23
|
-
"update:modelValue": (value: boolean) => any;
|
|
24
|
+
close: () => any;
|
|
25
|
+
"update:modelValue": (value: boolean) => any;
|
|
24
26
|
}, string, PublicProps, Readonly<VModalProps> & Readonly<{
|
|
25
|
-
onClose?: (() => any) | undefined;
|
|
26
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
27
|
+
onClose?: (() => any) | undefined;
|
|
28
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
27
29
|
}>, {
|
|
28
|
-
size: VModalSize;
|
|
29
|
-
showCloseButton: boolean;
|
|
30
|
-
closeOnBackdropClick: boolean;
|
|
31
|
-
zIndex: number;
|
|
30
|
+
size: VModalSize;
|
|
31
|
+
showCloseButton: boolean;
|
|
32
|
+
closeOnBackdropClick: boolean;
|
|
33
|
+
zIndex: number;
|
|
32
34
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
33
35
|
|
|
34
36
|
declare const __VLS_component_3: DefineComponent<VCheckboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
35
|
-
|
|
36
|
-
change: (value: boolean, event: Event) => any;
|
|
37
|
-
focus: (event: FocusEvent) => any;
|
|
38
|
-
|
|
37
|
+
blur: (event: FocusEvent) => any;
|
|
38
|
+
change: (value: boolean, event: Event) => any;
|
|
39
|
+
focus: (event: FocusEvent) => any;
|
|
40
|
+
"update:modelValue": (value: boolean) => any;
|
|
39
41
|
}, string, PublicProps, Readonly<VCheckboxProps> & Readonly<{
|
|
40
|
-
|
|
41
|
-
onChange?: ((value: boolean, event: Event) => any) | undefined;
|
|
42
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
43
|
-
|
|
42
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
43
|
+
onChange?: ((value: boolean, event: Event) => any) | undefined;
|
|
44
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
45
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
44
46
|
}>, {
|
|
45
|
-
disabled: boolean;
|
|
46
|
-
modelValue: boolean;
|
|
47
|
-
size: "small" | "medium" | "large";
|
|
48
|
-
required: boolean;
|
|
49
|
-
checked: boolean;
|
|
50
|
-
indeterminate: boolean;
|
|
51
|
-
variant: "primary" | "success" | "warning" | "danger" | "info";
|
|
52
|
-
isDouble: boolean;
|
|
53
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
47
|
+
disabled: boolean;
|
|
48
|
+
modelValue: boolean;
|
|
49
|
+
size: "small" | "medium" | "large";
|
|
50
|
+
required: boolean;
|
|
51
|
+
checked: boolean;
|
|
52
|
+
indeterminate: boolean;
|
|
53
|
+
variant: "primary" | "success" | "warning" | "danger" | "info";
|
|
54
|
+
isDouble: boolean;
|
|
55
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
54
56
|
|
|
55
57
|
declare const __VLS_component_4: DefineComponent<__VLS_PublicProps, {
|
|
56
|
-
toggleRowSelection: (row: Record<string, any>, selected?: boolean) => void;
|
|
57
|
-
toggleAllSelection: () => void;
|
|
58
|
-
selectAbsolutelyAll: () => void;
|
|
59
|
-
clearSelection: () => void;
|
|
60
|
-
getSelectionRows: () => Record<string, any>[];
|
|
61
|
-
setSelectionRows: (rows: Record<string, any>[]) => void;
|
|
58
|
+
toggleRowSelection: (row: Record<string, any>, selected?: boolean) => void;
|
|
59
|
+
toggleAllSelection: () => void;
|
|
60
|
+
selectAbsolutelyAll: () => void;
|
|
61
|
+
clearSelection: () => void;
|
|
62
|
+
getSelectionRows: () => Record<string, any>[];
|
|
63
|
+
setSelectionRows: (rows: Record<string, any>[]) => void;
|
|
64
|
+
resetInfinityScroll: () => void;
|
|
62
65
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
63
|
-
[x: string]: any;
|
|
66
|
+
[x: string]: any;
|
|
64
67
|
} & {
|
|
65
|
-
[x: string]: any;
|
|
68
|
+
[x: string]: any;
|
|
66
69
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
67
|
-
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
68
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
70
|
+
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
71
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
72
|
+
tableWrapperRef: HTMLDivElement;
|
|
73
|
+
}, HTMLDivElement>;
|
|
69
74
|
|
|
70
75
|
declare type __VLS_Props = {
|
|
71
76
|
name: IconName;
|
|
72
77
|
};
|
|
73
78
|
|
|
74
|
-
declare type __VLS_Props_2 = VTableProps
|
|
75
|
-
allData?: Record<string, any>[];
|
|
76
|
-
};
|
|
79
|
+
declare type __VLS_Props_2 = VTableProps;
|
|
77
80
|
|
|
78
|
-
declare type __VLS_PublicProps =
|
|
81
|
+
declare type __VLS_PublicProps = {
|
|
79
82
|
'columns'?: VTableColumnProps[];
|
|
80
|
-
};
|
|
83
|
+
} & __VLS_Props_2;
|
|
81
84
|
|
|
82
|
-
declare
|
|
83
|
-
|
|
85
|
+
declare function __VLS_template(): {
|
|
86
|
+
attrs: Partial<{}>;
|
|
87
|
+
slots: {
|
|
88
|
+
default?(_: {}): any;
|
|
89
|
+
};
|
|
90
|
+
refs: {};
|
|
91
|
+
rootEl: HTMLButtonElement;
|
|
84
92
|
};
|
|
85
93
|
|
|
86
|
-
declare
|
|
87
|
-
|
|
94
|
+
declare function __VLS_template_2(): {
|
|
95
|
+
attrs: Partial<{}>;
|
|
96
|
+
slots: {
|
|
97
|
+
default?(_: {}): any;
|
|
98
|
+
};
|
|
99
|
+
refs: {};
|
|
100
|
+
rootEl: any;
|
|
88
101
|
};
|
|
89
102
|
|
|
90
|
-
declare
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
103
|
+
declare function __VLS_template_3(): {
|
|
104
|
+
attrs: Partial<{}>;
|
|
105
|
+
slots: {
|
|
106
|
+
label?(_: {}): any;
|
|
107
|
+
default?(_: {}): any;
|
|
108
|
+
};
|
|
109
|
+
refs: {};
|
|
110
|
+
rootEl: HTMLLabelElement;
|
|
94
111
|
};
|
|
95
112
|
|
|
96
|
-
declare
|
|
97
|
-
|
|
113
|
+
declare function __VLS_template_4(): {
|
|
114
|
+
attrs: Partial<{}>;
|
|
115
|
+
slots: {
|
|
116
|
+
default?(_: {}): any;
|
|
117
|
+
};
|
|
118
|
+
refs: {
|
|
119
|
+
tableWrapperRef: HTMLDivElement;
|
|
120
|
+
};
|
|
121
|
+
rootEl: HTMLDivElement;
|
|
98
122
|
};
|
|
99
123
|
|
|
100
|
-
declare type
|
|
124
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
125
|
+
|
|
126
|
+
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
127
|
+
|
|
128
|
+
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
129
|
+
|
|
130
|
+
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
131
|
+
|
|
132
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
101
133
|
new (): {
|
|
102
134
|
$slots: S;
|
|
103
135
|
};
|
|
104
136
|
};
|
|
105
137
|
|
|
106
|
-
declare type
|
|
138
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
107
139
|
new (): {
|
|
108
140
|
$slots: S;
|
|
109
141
|
};
|
|
110
142
|
};
|
|
111
143
|
|
|
112
|
-
declare type
|
|
144
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
113
145
|
new (): {
|
|
114
146
|
$slots: S;
|
|
115
147
|
};
|
|
116
148
|
};
|
|
117
149
|
|
|
118
|
-
declare type
|
|
150
|
+
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
119
151
|
new (): {
|
|
120
152
|
$slots: S;
|
|
121
153
|
};
|
|
@@ -133,18 +165,19 @@ export declare const DEFAULT_COLUMN_CONFIG: {
|
|
|
133
165
|
export declare type IconName = keyof typeof icons;
|
|
134
166
|
|
|
135
167
|
declare const icons: {
|
|
136
|
-
readonly arrowDown: DefineComponent<
|
|
137
|
-
readonly arrowTop: DefineComponent<
|
|
138
|
-
readonly arrowRight: DefineComponent<
|
|
139
|
-
readonly arrowLeft: DefineComponent<
|
|
140
|
-
readonly arrowReload: DefineComponent<
|
|
141
|
-
readonly columnInsert: DefineComponent<
|
|
142
|
-
readonly freeze: DefineComponent<
|
|
143
|
-
readonly unfreeze: DefineComponent<
|
|
144
|
-
readonly columnsMove: DefineComponent<
|
|
145
|
-
readonly
|
|
146
|
-
readonly
|
|
147
|
-
readonly
|
|
168
|
+
readonly arrowDown: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
169
|
+
readonly arrowTop: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
170
|
+
readonly arrowRight: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
171
|
+
readonly arrowLeft: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
172
|
+
readonly arrowReload: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
173
|
+
readonly columnInsert: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
174
|
+
readonly freeze: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
175
|
+
readonly unfreeze: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
176
|
+
readonly columnsMove: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
177
|
+
readonly empty: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
178
|
+
readonly listBullet: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
179
|
+
readonly listBulletHorizontal: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
180
|
+
readonly close: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
148
181
|
};
|
|
149
182
|
|
|
150
183
|
export declare const install: (app: App, options?: VUIPluginOptions) => void;
|
|
@@ -239,7 +272,7 @@ export declare const tooltipDirective: ObjectDirective;
|
|
|
239
272
|
|
|
240
273
|
export declare type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right';
|
|
241
274
|
|
|
242
|
-
export declare const VButton:
|
|
275
|
+
export declare const VButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
243
276
|
|
|
244
277
|
export declare interface VButtonEmits {
|
|
245
278
|
click: [event: MouseEvent];
|
|
@@ -260,7 +293,7 @@ declare type VButtonShape = 'circle' | 'square';
|
|
|
260
293
|
|
|
261
294
|
export declare type VButtonType = 'default' | 'primary' | 'success' | 'danger' | 'warning' | 'info';
|
|
262
295
|
|
|
263
|
-
export declare const VCheckbox:
|
|
296
|
+
export declare const VCheckbox: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
264
297
|
|
|
265
298
|
export declare interface VCheckboxEmits {
|
|
266
299
|
'update:modelValue': [value: boolean];
|
|
@@ -291,9 +324,9 @@ export declare interface VCheckboxSlots {
|
|
|
291
324
|
|
|
292
325
|
export declare const VIcon: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
293
326
|
|
|
294
|
-
export declare const VLoader: DefineComponent<
|
|
327
|
+
export declare const VLoader: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLSpanElement>;
|
|
295
328
|
|
|
296
|
-
export declare const VModal:
|
|
329
|
+
export declare const VModal: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
297
330
|
|
|
298
331
|
export declare interface VModalConfig {
|
|
299
332
|
title?: string;
|
|
@@ -357,31 +390,31 @@ export declare interface VModalProps {
|
|
|
357
390
|
export declare type VModalSize = 'small' | 'medium' | 'large';
|
|
358
391
|
|
|
359
392
|
export declare const VPagination: DefineComponent<PaginationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
360
|
-
"update:currentPage": (page: number) => any;
|
|
361
|
-
"update:pageSize": (size: number) => any;
|
|
362
|
-
pageChange: (data: PaginationChangeData) => any;
|
|
363
|
-
reloadData: (page: number) => any;
|
|
393
|
+
"update:currentPage": (page: number) => any;
|
|
394
|
+
"update:pageSize": (size: number) => any;
|
|
395
|
+
pageChange: (data: PaginationChangeData) => any;
|
|
396
|
+
reloadData: (page: number) => any;
|
|
364
397
|
}, string, PublicProps, Readonly<PaginationProps> & Readonly<{
|
|
365
|
-
"onUpdate:currentPage"?: ((page: number) => any) | undefined;
|
|
366
|
-
"onUpdate:pageSize"?: ((size: number) => any) | undefined;
|
|
367
|
-
onPageChange?: ((data: PaginationChangeData) => any) | undefined;
|
|
368
|
-
onReloadData?: ((page: number) => any) | undefined;
|
|
398
|
+
"onUpdate:currentPage"?: ((page: number) => any) | undefined;
|
|
399
|
+
"onUpdate:pageSize"?: ((size: number) => any) | undefined;
|
|
400
|
+
onPageChange?: ((data: PaginationChangeData) => any) | undefined;
|
|
401
|
+
onReloadData?: ((page: number) => any) | undefined;
|
|
369
402
|
}>, {
|
|
370
|
-
pageSize: number;
|
|
371
|
-
currentPage: number;
|
|
372
|
-
pageSizeOptions: number[];
|
|
373
|
-
maxVisiblePages: number;
|
|
374
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
403
|
+
pageSize: number;
|
|
404
|
+
currentPage: number;
|
|
405
|
+
pageSizeOptions: number[];
|
|
406
|
+
maxVisiblePages: number;
|
|
407
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
375
408
|
|
|
376
|
-
export declare const VTable:
|
|
409
|
+
export declare const VTable: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
377
410
|
|
|
378
411
|
export declare const VTableColumn: DefineComponent<VTableColumnProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<VTableColumnProps> & Readonly<{}>, {
|
|
379
|
-
sortable: boolean;
|
|
380
|
-
pinnedLeft: boolean;
|
|
381
|
-
pinnedRight: boolean;
|
|
382
|
-
actionColumn: boolean;
|
|
383
|
-
showOverflowTooltip: boolean;
|
|
384
|
-
selectable: boolean;
|
|
412
|
+
sortable: boolean;
|
|
413
|
+
pinnedLeft: boolean;
|
|
414
|
+
pinnedRight: boolean;
|
|
415
|
+
actionColumn: boolean;
|
|
416
|
+
showOverflowTooltip: boolean;
|
|
417
|
+
selectable: boolean;
|
|
385
418
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
386
419
|
|
|
387
420
|
export declare interface VTableColumnGroup {
|
|
@@ -405,7 +438,7 @@ export declare interface VTableColumnProps {
|
|
|
405
438
|
actionColumn?: boolean;
|
|
406
439
|
showOverflowTooltip?: boolean;
|
|
407
440
|
selectable?: boolean;
|
|
408
|
-
renderSlot?:
|
|
441
|
+
renderSlot?: VTableRenderSlot;
|
|
409
442
|
sortMethod?: Function;
|
|
410
443
|
}
|
|
411
444
|
|
|
@@ -439,6 +472,7 @@ export declare interface VTableEmits {
|
|
|
439
472
|
direction: 'asc' | 'desc' | null;
|
|
440
473
|
}): void;
|
|
441
474
|
(e: 'columns-change', columns: VTableColumnProps[]): void;
|
|
475
|
+
(e: 'infinity-scroll'): void;
|
|
442
476
|
}
|
|
443
477
|
|
|
444
478
|
export declare interface VTableProps {
|
|
@@ -460,6 +494,13 @@ export declare interface VTableProps {
|
|
|
460
494
|
columns?: VTableColumnProps[];
|
|
461
495
|
}
|
|
462
496
|
|
|
497
|
+
declare type VTableRenderSlot = (props: {
|
|
498
|
+
row: Record<string, any>;
|
|
499
|
+
column: VTableColumnProps;
|
|
500
|
+
value: any;
|
|
501
|
+
index?: number;
|
|
502
|
+
}) => VNode | VNode[] | string | Component;
|
|
503
|
+
|
|
463
504
|
export declare interface VTableStyleConfig {
|
|
464
505
|
[key: string]: string;
|
|
465
506
|
}
|