Skip to content

Commit 9dc8bff

Browse files
Cleaning
1 parent 5947de0 commit 9dc8bff

File tree

1 file changed

+21
-23
lines changed

1 file changed

+21
-23
lines changed

src/types/index.ts

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export type TableType = VDataTable | VDataTableServer | unknown;
118118

119119
// -------------------------------------------------- Props //
120120
export interface Props {
121-
colors?: ColorsObject | null; // * Custom Property
121+
colors?: ColorsObject | null;
122122
customFilter?: VDataTable['$props']['customFilter'];
123123
customKeyFilter?: VDataTable['$props']['customKeyFilter'];
124124
density?: VDataTable['$options']['density'];
@@ -127,32 +127,31 @@ export interface Props {
127127
elevation?: string | number | undefined;
128128
expandOnClick?: VDataTable['$props']['expandOnClick'];
129129
expanded?: readonly string[] | undefined;
130-
filterKeys?: VDataTable['$props']['filterKeys']; // ! Need more info/testing
130+
filterKeys?: VDataTable['$props']['filterKeys']; // ? Need more info/testing
131131
filterMode?: VDataTable['$props']['filterMode'];
132132
fixedFooter?: boolean;
133133
fixedHeader?: boolean;
134-
footers?: Column[]; // * Custom Property - This might change //
134+
footers?: Column[];
135135
headers?: VDataTable['$props']['headers'];
136-
// groupBy?: string[]; // ? Most likely this will not be used
137136
height?: string | number | undefined;
138137
// hideDefaultFooter?: boolean; // ? Custom Property - Need to add/test
139138
// hideDefaultHeader?: boolean; // ? Custom Property - Need to add/test
140139
hideNoData?: VDataTable['$props']['hideNoData'];
141140
hover?: VDataTable['$props']['hover'];
142-
isDrilldown?: boolean; // * Custom Property
143-
item?: VDataTableRow['$props']['item']; // * Custom Property
141+
isDrilldown?: boolean;
142+
item?: VDataTableRow['$props']['item'];
144143
// itemChildren?: VDataTable['$props']['itemChildren']; // ? Type missing in v3.3.0
145-
itemChildrenKey?: string; // * Custom Property
144+
itemChildrenKey?: string;
146145
itemValue?: VDataTable['$props']['itemValue'];
147146
items?: VDataTable['$props']['items'];
148147
itemsLength?: number;
149148
itemsPerPage?: VDataTable['$props']['itemsPerPage'];
150149
itemsPerPageOptions?: VDataTable['$props']['itemsPerPageOptions'];
151-
level: number; // * Custom Property
152-
levels: number; // * Custom Property
153-
loaderHeight?: VProgressLinear['$props']['height']; // * Custom Property
154-
loaderSize?: VProgressCircular['$props']['size']; // * Custom Property
155-
loaderType?: string | string[] | false | null; // * Custom Property
150+
level: number;
151+
levels: number;
152+
loaderHeight?: VProgressLinear['$props']['height'];
153+
loaderSize?: VProgressCircular['$props']['size'];
154+
loaderType?: string | string[] | false | null;
156155
loading?: VDataTable['$props']['loading'];
157156
loadingText?: VDataTable['$props']['loadingText']; // ! Not working properly //
158157
modelValue?: unknown[];
@@ -161,24 +160,23 @@ export interface Props {
161160
noDataText?: VDataTable['$props']['noDataText'];
162161
noFilter?: VDataTable['$props']['noFilter'];
163162
page?: VDataTable['$props']['page'];
164-
// pageCount?: number; // ? Need to test (maybe v2 only?)
165163
returnObject?: VDataTable['$props']['returnObject'];
166164
search?: string | undefined;
167-
searchDebounce?: number | undefined | null; // * Custom Property
168-
searchMaxWait?: number | undefined | null; // * Custom Property
169-
searchProps?: SearchProps; // * Custom Property
165+
searchDebounce?: number | undefined | null;
166+
searchMaxWait?: number | undefined | null;
167+
searchProps?: SearchProps;
170168
separator?: string; // TODO: Maybe add this //
171-
server?: boolean; // * Custom Property
172-
selectStrategy?: VDataTable['$props']['selectStrategy'];
173-
showDrilldownWhenLoading?: boolean; // * Custom Property
169+
server?: boolean;
170+
selectStrategy?: VDataTable['$props']['selectStrategy']; // ! Testing
171+
showDrilldownWhenLoading?: boolean;
174172
showExpand?: VDataTable['$props']['showExpand'];
175-
showFooterRow?: boolean; // * Custom Property
176-
showSearch?: boolean; // * Custom Property
173+
showFooterRow?: boolean;
174+
showSearch?: boolean;
177175
showSelect?: VDataTable['$props']['showSelect'];
178-
skeltonType?: string; // * Custom Property
176+
skeltonType?: string;
179177
sortAscIcon?: VDataTable['$props']['sortAscIcon'];
180178
sortBy?: VDataTable['$props']['sortBy'];
181-
tableType?: TableType; // * Custom Property
179+
tableType?: TableType;
182180
width?: string | number | undefined; // ! Not working properly //
183181
}
184182

0 commit comments

Comments
 (0)