File tree Expand file tree Collapse file tree 5 files changed +7
-25
lines changed
Expand file tree Collapse file tree 5 files changed +7
-25
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,7 @@ import { createVDrilldownTable } from '../../plugin/index';
1111makeServer ( { environment : 'playground' } ) ;
1212
1313const app = createApp ( PlaygroundApp ) ;
14- app . use ( createVDrilldownTable ( {
15-
16- } ) ) ;
14+ app . use ( createVDrilldownTable ( ) ) ;
1715app . use ( createPinia ( ) ) ;
1816app . component ( 'font-awesome-icon' , FontAwesomeIcon ) ;
1917app . component ( 'FaIcon' , FontAwesomeIcon ) ;
Original file line number Diff line number Diff line change 4848 :search =" tableSettings.search"
4949 :search-container-cols =" tableSettings.searchContainerCols"
5050 :search-debounce =" tableSettings.searchDebounce"
51- :search-events =" tableSettings.searchEvents"
5251 :search-max-wait =" tableSettings.searchMaxWait"
5352 :search-props =" tableSettings.searchProps"
5453 :select-strategy =" tableSettings.selectStrategy"
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ const defaultColorsExample = ref({
7777});
7878
7979provide (' defaultColors' , defaultColors);
80+ provide (' selectedColor' , selectedColor);
8081provide (' density' , density);
8182
8283function updateColor (val ) {
Original file line number Diff line number Diff line change 1616 :elevation =" tableSettings.elevation"
1717 :expand-on-click =" tableSettings.expandOnClick"
1818 :first-icon =" tableSettings.firstIcon"
19+ :fixed-header =" tableSettings.fixedHeader"
1920 :footers =" footers.users"
2021 :headers =" headers.users"
22+ :height =" tableSettings.height"
2123 :hover =" tableSettings.hover"
2224 :item-children-key =" tableSettings.itemChildrenKey"
2325 :item-props =" tableSettings.itemProps"
120122
121123 <!-- <template #[`header.data-table-select`]>
122124 <div class="d-flex justify-center">
123- <v-icon>mdi mdi- vuetify</v-icon>
125+ <v-icon icon="$ vuetify"> </v-icon>
124126 </div>
125127 </template> -->
126128
164166 </template> -->
165167
166168 <!-- <template #[`item.data-table-select`]>
167- <v-icon>mdi mdi- vuetify</v-icon>
169+ <v-icon icon="$ vuetify"> </v-icon>
168170 </template> -->
169171
170172 <!-- <template #[`item.data-table-expand`]>
@@ -216,7 +218,6 @@ const props = defineProps({
216218});
217219
218220const selected = ref ([]);
219-
220221const classes = inject (' classes' );
221222const defaultColors = inject (' defaultColors' );
222223const density = inject (' density' );
Original file line number Diff line number Diff line change @@ -105,23 +105,6 @@ export default {
105105 xxl : 2 ,
106106 } ,
107107 searchDebounce : 0 ,
108- searchEvents : {
109- // 'input': (e: InputEvent) => {
110- // console.log('input event triggered', e);
111- // },
112- // 'click': (e: MouseEvent) => {
113- // console.log('click event triggered', e);
114- // },
115- // 'click:control': (e: MouseEvent) => {
116- // console.log('click:control event triggered', e);
117- // },
118- // 'mousedown:control': (e: MouseEvent) => {
119- // console.log('mousedown:control event triggered', e);
120- // },
121- // 'update:modelValue': (val: string) => {
122- // console.log('update:modelValue event triggered', val);
123- // },
124- } ,
125108 searchMaxWait : 1000 ,
126109 searchProps : {
127110 clearable : true ,
@@ -136,7 +119,7 @@ export default {
136119 showCurrentPage : false ,
137120 showDrilldownWhenLoading : true ,
138121 showExpand : false ,
139- showFooterRow : false ,
122+ showFooterRow : true ,
140123 showSearch : true ,
141124 showSelect : true ,
142125 sortAscIcon : '$sortAsc' ,
You can’t perform that action at this time.
0 commit comments