Skip to content

Commit 1942f3f

Browse files
Cleaning
1 parent abd5bf8 commit 1942f3f

File tree

5 files changed

+41
-51
lines changed

5 files changed

+41
-51
lines changed

src/documentation/components/examples/ClientTable.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
<v-col cols="12">
1616
<VDrilldownTable
17-
:color="tableSettings.color"
1817
:colors="tableSettings.colors"
1918
:density="tableSettings.density"
2019
:drilldown-key="tableSettings.drilldownKey"
@@ -31,7 +30,6 @@
3130
:items-per-page-options="tableSettings.itemsPerPageOptions"
3231
:items-per-page-text="tableSettings.itemsPerPageText"
3332
:last-icon="tableSettings.lastIcon"
34-
:last-page-label="tableSettings.lastPageLabel"
3533
:level="tableSettings.level"
3634
:levels="tableSettings.levels"
3735
:loader-height="tableSettings.loaderHeight"
@@ -46,7 +44,6 @@
4644
:page="tableSettings.page"
4745
:page-text="tableSettings.pageText"
4846
:prev-icon="tableSettings.prevIcon"
49-
:prev-page-label="tableSettings.prevPageLabel"
5047
:search-debounce="tableSettings.searchDebounce"
5148
:search-max-wait="tableSettings.searchMaxWait"
5249
:server="tableSettings.server"

src/documentation/components/examples/ServerTable.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
<v-col cols="12">
2222
<VDrilldownTable
23-
:color="tableSettings.color"
2423
:colors="tableSettings.colors"
2524
:density="tableSettings.density"
2625
:drilldown-key="tableSettings.drilldownKey"
@@ -37,7 +36,6 @@
3736
:items-per-page-options="tableSettings.itemsPerPageOptions"
3837
:items-per-page-text="tableSettings.itemsPerPageText"
3938
:last-icon="tableSettings.lastIcon"
40-
:last-page-label="tableSettings.lastPageLabel"
4139
:level="tableSettings.level"
4240
:levels="tableSettings.levels"
4341
:loader-height="tableSettings.loaderHeight"
@@ -52,7 +50,6 @@
5250
:page="tableSettings.page"
5351
:page-text="tableSettings.pageText"
5452
:prev-icon="tableSettings.prevIcon"
55-
:prev-page-label="tableSettings.prevPageLabel"
5653
:search-debounce="tableSettings.searchDebounce"
5754
:search-max-wait="tableSettings.searchMaxWait"
5855
:server="tableSettings.server"

src/playground/configs/templates/ClientTable.vue

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@
3333
:loader-type="tableSettings.loaderType"
3434
:loading="tableSettings.loading"
3535
:loading-text="tableSettings.loadingText"
36+
:match-column-widths="tableSettings.matchColumnWidths"
3637
:multi-sort="tableSettings.multiSort"
3738
:next-icon="tableSettings.nextIcon"
38-
:next-page-label="tableSettings.nextPageLabel"
3939
:no-data-text="tableSettings.noDataText"
4040
:page="tableSettings.page"
4141
:page-text="tableSettings.pageText"
4242
:prev-icon="tableSettings.prevIcon"
43-
:prev-page-label="tableSettings.prevPageLabel"
4443
:search-debounce="tableSettings.searchDebounce"
4544
:search-max-wait="tableSettings.searchMaxWait"
4645
:select-strategy="tableSettings.selectStrategy"
46+
:separator="tableSettings.separator"
4747
:server="tableSettings.server"
4848
:show-current-page="tableSettings.showCurrentPage"
4949
:show-expand="tableSettings.showExpand"
@@ -226,54 +226,51 @@ const tableSettings = ref({ ...props.settings, ...props.colors });
226226
227227
const headers = {
228228
comments: [
229-
{
230-
align: 'start',
231-
key: null,
232-
title: '',
233-
width: 110,
234-
},
229+
// {
230+
// align: 'start',
231+
// key: null,
232+
// title: '',
233+
// width: 110,
234+
// },
235235
{
236236
align: 'start',
237237
key: 'postId',
238238
sortable: false,
239239
title: 'Post ID',
240-
width: 110,
240+
// width: 110,
241241
},
242242
{
243243
align: 'start',
244244
key: 'id',
245245
sortable: false,
246246
title: 'Comment ID',
247-
width: 130,
247+
// width: 130,
248248
},
249249
{
250250
align: 'start',
251251
key: 'name',
252252
title: 'Comment',
253253
},
254-
{
255-
key: 'data-table-expand',
256-
title: '',
257-
},
258254
],
259255
posts: [
260256
{
261257
align: 'start',
262258
key: 'userId',
263259
sortable: false,
264260
title: 'User ID',
265-
width: 110,
261+
// width: 110,
266262
},
267263
{
268264
align: 'start',
269265
key: 'id',
270266
title: 'Post ID',
271-
width: 240,
267+
// width: 240,
272268
},
273269
{
274270
align: 'start',
275271
key: 'title',
276272
title: 'Post',
273+
// width: 50,
277274
},
278275
{
279276
key: 'data-table-expand',

src/playground/configs/templates/ServerTable.vue

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
<template>
42
<v-col cols="12">
53
<h3 :class="classes.h3">
@@ -35,17 +33,18 @@
3533
:loader-type="tableSettings.loaderType"
3634
:loading="tableSettings.loading"
3735
:loading-text="tableSettings.loadingText"
36+
:match-column-widths="tableSettings.matchColumnWidths"
3837
:multi-sort="tableSettings.multiSort"
3938
:next-icon="tableSettings.nextIcon"
4039
:next-page-label="tableSettings.nextPageLabel"
4140
:no-data-text="tableSettings.noDataText"
4241
:page="tableSettings.page"
4342
:page-text="tableSettings.pageText"
4443
:prev-icon="tableSettings.prevIcon"
45-
:prev-page-label="tableSettings.prevPageLabel"
4644
:search-debounce="tableSettings.searchDebounce"
4745
:search-max-wait="tableSettings.searchMaxWait"
4846
:select-strategy="tableSettings.selectStrategy"
47+
:separator="tableSettings.separator"
4948
:server="tableSettings.server"
5049
:show-current-page="tableSettings.showCurrentPage"
5150
:show-expand="tableSettings.showExpand"
@@ -88,25 +87,25 @@ const defaultSortBy = [
8887
];
8988
const headers = {
9089
comments: [
91-
{
92-
align: 'start',
93-
key: null,
94-
title: '',
95-
width: 110,
96-
},
90+
// {
91+
// align: 'start',
92+
// key: null,
93+
// title: '',
94+
// width: 110,
95+
// },
9796
{
9897
align: 'start',
9998
key: 'postId',
10099
sortable: false,
101100
title: 'Post ID',
102-
width: 110,
101+
// width: 110,
103102
},
104103
{
105104
align: 'start',
106105
key: 'id',
107106
sortable: false,
108107
title: 'Comment ID',
109-
width: 130,
108+
// width: 130,
110109
},
111110
{
112111
align: 'start',
@@ -124,13 +123,13 @@ const headers = {
124123
key: 'userId',
125124
sortable: false,
126125
title: 'User ID',
127-
width: 110,
126+
// width: 110,
128127
},
129128
{
130129
align: 'start',
131130
key: 'id',
132131
title: 'Post ID',
133-
width: 240,
132+
// width: 240,
134133
},
135134
{
136135
align: 'start',

src/playground/configs/templates/tableDefaults.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default {
2-
// color: 'primary', // ? Doesn't seem to work
2+
// color: 'primary', // ? Doesn't seem to work - Vuetify prop
33
// colors: null,
44
colors: {
55
body: {
@@ -31,19 +31,19 @@ export default {
3131
percentageChange: 25,
3232
percentageDirection: 'desc',
3333
},
34-
// customFilter: undefined, // ? Needs Testing
35-
// customKeyFilter: undefined, // ? Needs Testing
34+
// customFilter: undefined, // ? Needs Testing - Vuetify prop
35+
// customKeyFilter: undefined, // ? Needs Testing - Vuetify prop
3636
density: 'default',
3737
drilldownKey: 'id',
3838
elevation: 5,
39-
// expanded: () => [], // ? Needs Testing
39+
// expanded: () => [], // ? Needs Testing - Vuetify prop
4040
expandOnClick: false,
41-
// filterKeys: undefined, // ? Needs Testing
42-
// filterMode: 'some', // ? Needs Testing
41+
// filterKeys: undefined, // ? Needs Testing - Vuetify prop
42+
// filterMode: 'some', // ? Needs Testing - Vuetify prop
4343
firstIcon: '$first',
44-
// firstPageLabel: '', // ? Doesn't seem to work
45-
// fixedFooter: true, // ? Doesn't seem to work
46-
// fixedHeader: true, // ? Doesn't seem to work
44+
// firstPageLabel: '', // ? Doesn't seem to work - Vuetify prop
45+
// fixedFooter: true, // ? Doesn't seem to work - Vuetify prop
46+
// fixedHeader: true, // ? Doesn't seem to work - Vuetify prop
4747
footers: [],
4848
headers: [],
4949
height: 'auto',
@@ -84,7 +84,7 @@ export default {
8484
],
8585
itemsPerPageText: '$vuetify.dataFooter.itemsPerPageText',
8686
lastIcon: '$last',
87-
// lastPageLabel: '$vuetify.dataFooter.lastPage', // ? Doesn't seem to work
87+
// lastPageLabel: '$vuetify.dataFooter.lastPage', // ? Doesn't seem to work - Vuetify prop
8888
level: 1,
8989
levels: 3,
9090
loaderHeight: '2px',
@@ -97,17 +97,17 @@ export default {
9797
],
9898
loading: false,
9999
loadingText: '$vuetify.dataIterator.loadingText',
100+
matchColumnWidths: false,
100101
multiSort: false,
101102
mustSort: false,
102103
nextIcon: '$next',
103-
nextPageLabel: '$vuetify.dataFooter.nextPage', // ? Doesn't seem to work
104+
nextPageLabel: '$vuetify.dataFooter.nextPage', // ? Doesn't seem to work - Vuetify prop
104105
noDataText: '$vuetify.noDataText',
105106
page: 1,
106107
pageText: '$vuetify.dataFooter.pageText',
107108
prevIcon: '$prev',
108-
// prevPageLabel: '$vuetify.dataFooter.prevPage', // ? Doesn't seem to work
109-
// returnObject: false, // ? Not sure what this does or if works.
110-
// rowHeight: undefined, // ? Doesn't seem to work
109+
// prevPageLabel: '$vuetify.dataFooter.prevPage', // ? Doesn't seem to work - Vuetify prop
110+
// rowHeight: undefined, // ? Doesn't seem to work - Vuetify prop
111111
search: '',
112112
searchDebounce: 750,
113113
searchMaxWait: 1000,
@@ -135,8 +135,8 @@ export default {
135135
skeltonType: 'heading@1',
136136
sortAscIcon: '$sortAsc',
137137
sortBy: [],
138-
// sticky: false, // ? Doesn't seem to work
138+
// sticky: false, // ? Doesn't seem to work - Vuetify prop
139139
tag: 'div',
140140
theme: undefined,
141-
// width: undefined, // ? Doesn't seem to work
141+
// width: undefined, // ? Doesn't seem to work - Vuetify prop
142142
};

0 commit comments

Comments
 (0)