Skip to content

Commit 14f1ab8

Browse files
Updating types and cleaning up
1 parent 6cef5c0 commit 14f1ab8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/types/index.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ export interface TopSlotProps extends VDataTableSlotProps {
230230
};
231231

232232
export interface HeaderSlotProps extends AllSlotProps {
233-
allSelected?: boolean;
234233
isTheadSlot?: boolean;
235234
items: Props['items'];
236235
loaderSettings: {
@@ -245,7 +244,6 @@ export interface HeaderSlotProps extends AllSlotProps {
245244
};
246245
selectStrategy: Props['selectStrategy'];
247246
slotProps: {
248-
allRowsSelected: boolean;
249247
allSelected?: boolean;
250248
columns: Column[];
251249
getSortIcon: GetSortIcon;
@@ -262,7 +260,6 @@ export interface HeaderSlotProps extends AllSlotProps {
262260

263261
export interface THeadSlotProps extends AllSlotProps {
264262
slotProps: {
265-
allRowsSelected: boolean;
266263
columns: Column[];
267264
getSortIcon?: GetSortIcon;
268265
index?: number;
@@ -281,7 +278,6 @@ export interface ItemSlotProps extends Omit<AllSlotProps, 'colors' | 'sortBy'> {
281278
levels: Props['levels'];
282279
showExpand: Props['showExpand'];
283280
slotProps: {
284-
allRowsSelected: boolean;
285281
columns: Column[];
286282
index?: number;
287283
isExpanded: IsExpanded;
@@ -295,8 +291,10 @@ export interface ItemSlotProps extends Omit<AllSlotProps, 'colors' | 'sortBy'> {
295291

296292
export interface TFootSlotProps extends Omit<AllSlotProps, 'showSelect' | 'sortBy'> {
297293
footers: Column[];
294+
items: Props['items'];
295+
selectStrategy: Props['selectStrategy'];
298296
slotProps: {
299-
allRowsSelected: boolean;
297+
allSelected?: boolean;
300298
columns: Column[];
301299
getFixedStyles?: (column: InternalDataTableHeader, y: number) => CSSProperties | undefined;
302300
getSortIcon?: GetSortIcon;
@@ -311,6 +309,7 @@ export interface TFootSlotProps extends Omit<AllSlotProps, 'showSelect' | 'sortB
311309
toggleSelect: ToggleExpandSelect;
312310
toggleSort?: ToggleSort;
313311
};
312+
tableModelValue?: Props['modelValue'];
314313
}
315314

316315

0 commit comments

Comments
 (0)