File tree Expand file tree Collapse file tree 3 files changed +37
-12
lines changed
src/playground/configs/templates Expand file tree Collapse file tree 3 files changed +37
-12
lines changed Original file line number Diff line number Diff line change 4141 :page-text =" tableSettings.pageText"
4242 :prev-icon =" tableSettings.prevIcon"
4343 :search =" tableSettings.search"
44+ :search-container-cols =" tableSettings.searchContainerCols"
4445 :search-debounce =" tableSettings.searchDebounce"
46+ :search-events =" tableSettings.searchEvents"
4547 :search-max-wait =" tableSettings.searchMaxWait"
48+ :search-props =" tableSettings.searchProps"
4649 :select-strategy =" tableSettings.selectStrategy"
4750 :separator =" tableSettings.separator"
4851 :server =" tableSettings.server"
7073 [top Slot]
7174 </template> -->
7275
73- <!-- <template #[`top.left`]="{ props } ">
76+ <!-- <template #[`top.left`]="props">
7477 <v-col
7578 v-if="props.level === 1"
7679 cols="4"
Original file line number Diff line number Diff line change 4242 :page-text =" tableSettings.pageText"
4343 :prev-icon =" tableSettings.prevIcon"
4444 :search =" tableSettings.search"
45+ :search-container-cols =" tableSettings.searchContainerCols"
4546 :search-debounce =" tableSettings.searchDebounce"
4647 :search-max-wait =" tableSettings.searchMaxWait"
48+ :search-props =" tableSettings.searchProps"
4749 :select-strategy =" tableSettings.selectStrategy"
4850 :separator =" tableSettings.separator"
4951 :server =" tableSettings.server"
7274 [top Slot]
7375 </template> -->
7476
75- <!-- <template #[`top.left`]="{ props } ">
77+ <!-- <template #[`top.left`]="props">
7678 <v-col
7779 v-if="props.level === 1"
7880 cols="4"
Original file line number Diff line number Diff line change @@ -109,18 +109,38 @@ export default {
109109 // prevPageLabel: '$vuetify.dataFooter.prevPage', // ? Doesn't seem to work - Vuetify prop
110110 // rowHeight: undefined, // ? Doesn't seem to work - Vuetify prop
111111 search : '' ,
112+ searchContainerCols : {
113+ lg : 3 ,
114+ md : 6 ,
115+ sm : 12 ,
116+ xl : 3 ,
117+ xs : 12 ,
118+ xxl : 2 ,
119+ } ,
112120 searchDebounce : 750 ,
121+ searchEvents : {
122+ // 'input': (e: InputEvent) => {
123+ // console.log('input event triggered', e);
124+ // },
125+ // 'click': (e: MouseEvent) => {
126+ // console.log('click event triggered', e);
127+ // },
128+ // 'click:control': (e: MouseEvent) => {
129+ // console.log('click:control event triggered', e);
130+ // },
131+ // 'mousedown:control': (e: MouseEvent) => {
132+ // console.log('mousedown:control event triggered', e);
133+ // },
134+ // 'update:modelValue': (val: string) => {
135+ // console.log('update:modelValue event triggered', val);
136+ // },
137+ } ,
113138 searchMaxWait : 1000 ,
114- searchProps : { // ? Needs Testing
115- cols : {
116- lg : 3 ,
117- md : 6 ,
118- sm : 12 ,
119- xl : 3 ,
120- xs : 12 ,
121- xxl : 2 ,
122- } ,
139+ searchProps : {
140+ clearable : true ,
141+ color : 'primary' ,
123142 density : 'compact' ,
143+ prependInnerIcon : 'mdi mdi-magnify' ,
124144 variant : 'underlined' ,
125145 } ,
126146 selectStrategy : 'page' ,
@@ -131,7 +151,7 @@ export default {
131151 showExpand : false ,
132152 showFooterRow : false ,
133153 showSearch : false ,
134- showSelect : true ,
154+ showSelect : false ,
135155 skeltonType : 'heading@1' ,
136156 sortAscIcon : '$sortAsc' ,
137157 sortBy : [ ] ,
You can’t perform that action at this time.
0 commit comments