voiptime-components 0.0.22 → 0.0.23
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 +79 -21
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -63,11 +63,67 @@ declare const __VLS_component_4: DefineComponent<__VLS_PublicProps, {
|
|
|
63
63
|
setSelectionRows: (rows: Record<string, any>[]) => void;
|
|
64
64
|
resetInfinityScroll: () => void;
|
|
65
65
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
"current-change": (payload: {
|
|
67
|
+
currentRow: Record<string, any> | null;
|
|
68
|
+
oldCurrentRow: Record<string, any> | null;
|
|
69
|
+
}) => any;
|
|
70
|
+
"selection-change": (payload: SelectionChangeEventData) => any;
|
|
71
|
+
"sort-change": (payload: SortChangeEventData) => any;
|
|
72
|
+
"row-click": (payload: {
|
|
73
|
+
row: Record<string, any>;
|
|
74
|
+
column: VTableColumnProps;
|
|
75
|
+
event: Event;
|
|
76
|
+
}) => any;
|
|
77
|
+
"update:columns": (...args: unknown[]) => any;
|
|
78
|
+
"column-pin": (payload: {
|
|
79
|
+
column: VTableColumnProps;
|
|
80
|
+
position: "left" | "right" | "none";
|
|
81
|
+
}) => any;
|
|
82
|
+
"column-resize": (payload: {
|
|
83
|
+
column: VTableColumnProps;
|
|
84
|
+
width: number;
|
|
85
|
+
oldWidth?: number;
|
|
86
|
+
}) => any;
|
|
87
|
+
"column-visibility": (payload: {
|
|
88
|
+
column: VTableColumnProps;
|
|
89
|
+
}) => any;
|
|
90
|
+
"column-sort": (payload: {
|
|
91
|
+
column: VTableColumnProps;
|
|
92
|
+
direction: "asc" | "desc" | null;
|
|
93
|
+
}) => any;
|
|
94
|
+
"columns-change": (columns: VTableColumnProps[]) => any;
|
|
95
|
+
"infinity-scroll": () => any;
|
|
69
96
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
70
|
-
|
|
97
|
+
"onCurrent-change"?: ((payload: {
|
|
98
|
+
currentRow: Record<string, any> | null;
|
|
99
|
+
oldCurrentRow: Record<string, any> | null;
|
|
100
|
+
}) => any) | undefined;
|
|
101
|
+
"onSelection-change"?: ((payload: SelectionChangeEventData) => any) | undefined;
|
|
102
|
+
"onSort-change"?: ((payload: SortChangeEventData) => any) | undefined;
|
|
103
|
+
"onRow-click"?: ((payload: {
|
|
104
|
+
row: Record<string, any>;
|
|
105
|
+
column: VTableColumnProps;
|
|
106
|
+
event: Event;
|
|
107
|
+
}) => any) | undefined;
|
|
108
|
+
"onUpdate:columns"?: ((...args: unknown[]) => any) | undefined;
|
|
109
|
+
"onColumn-pin"?: ((payload: {
|
|
110
|
+
column: VTableColumnProps;
|
|
111
|
+
position: "left" | "right" | "none";
|
|
112
|
+
}) => any) | undefined;
|
|
113
|
+
"onColumn-resize"?: ((payload: {
|
|
114
|
+
column: VTableColumnProps;
|
|
115
|
+
width: number;
|
|
116
|
+
oldWidth?: number;
|
|
117
|
+
}) => any) | undefined;
|
|
118
|
+
"onColumn-visibility"?: ((payload: {
|
|
119
|
+
column: VTableColumnProps;
|
|
120
|
+
}) => any) | undefined;
|
|
121
|
+
"onColumn-sort"?: ((payload: {
|
|
122
|
+
column: VTableColumnProps;
|
|
123
|
+
direction: "asc" | "desc" | null;
|
|
124
|
+
}) => any) | undefined;
|
|
125
|
+
"onColumns-change"?: ((columns: VTableColumnProps[]) => any) | undefined;
|
|
126
|
+
"onInfinity-scroll"?: (() => any) | undefined;
|
|
71
127
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
72
128
|
tableWrapperRef: HTMLDivElement;
|
|
73
129
|
}, HTMLDivElement>;
|
|
@@ -454,36 +510,38 @@ declare interface VTableColumnSlots {
|
|
|
454
510
|
}
|
|
455
511
|
|
|
456
512
|
export declare interface VTableEmits {
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
513
|
+
'sort-change': [payload: SortChangeEventData];
|
|
514
|
+
'selection-change': [payload: SelectionChangeEventData];
|
|
515
|
+
'current-change': [
|
|
516
|
+
payload: {
|
|
460
517
|
currentRow: Record<string, any> | null;
|
|
461
518
|
oldCurrentRow: Record<string, any> | null;
|
|
462
|
-
}
|
|
463
|
-
|
|
519
|
+
}
|
|
520
|
+
];
|
|
521
|
+
'row-click': [payload: {
|
|
464
522
|
row: Record<string, any>;
|
|
465
523
|
column: VTableColumnProps;
|
|
466
524
|
event: Event;
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
|
|
525
|
+
}];
|
|
526
|
+
'update:columns': [payload: VTableColumnProps[]];
|
|
527
|
+
'column-pin': [payload: {
|
|
470
528
|
column: VTableColumnProps;
|
|
471
529
|
position: 'left' | 'right' | 'none';
|
|
472
|
-
}
|
|
473
|
-
|
|
530
|
+
}];
|
|
531
|
+
'column-resize': [payload: {
|
|
474
532
|
column: VTableColumnProps;
|
|
475
533
|
width: number;
|
|
476
534
|
oldWidth?: number;
|
|
477
|
-
}
|
|
478
|
-
|
|
535
|
+
}];
|
|
536
|
+
'column-visibility': [payload: {
|
|
479
537
|
column: VTableColumnProps;
|
|
480
|
-
}
|
|
481
|
-
|
|
538
|
+
}];
|
|
539
|
+
'column-sort': [payload: {
|
|
482
540
|
column: VTableColumnProps;
|
|
483
541
|
direction: 'asc' | 'desc' | null;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
|
|
542
|
+
}];
|
|
543
|
+
'columns-change': [columns: VTableColumnProps[]];
|
|
544
|
+
'infinity-scroll': [];
|
|
487
545
|
}
|
|
488
546
|
|
|
489
547
|
export declare interface VTableProps {
|