|
41 | 41 | :page="tableSettings.page" |
42 | 42 | :page-text="tableSettings.pageText" |
43 | 43 | :prev-icon="tableSettings.prevIcon" |
| 44 | + :search="tableSettings.search" |
44 | 45 | :search-debounce="tableSettings.searchDebounce" |
45 | 46 | :search-max-wait="tableSettings.searchMaxWait" |
46 | 47 | :select-strategy="tableSettings.selectStrategy" |
|
59 | 60 | @update:drilldown="fetchServerData($event)" |
60 | 61 | @update:options="updateOptions" |
61 | 62 | > |
| 63 | + <!-- <template #loading> |
| 64 | + [loading Slot] |
| 65 | + </template> --> |
| 66 | + |
| 67 | + <!-- <template #no-data> |
| 68 | + [no-data Slot] |
| 69 | + </template> --> |
| 70 | + |
| 71 | + <!-- <template #top> |
| 72 | + [top Slot] |
| 73 | + </template> --> |
| 74 | + |
| 75 | + <!-- <template #[`top.left`]="{ props }"> |
| 76 | + <v-col |
| 77 | + v-if="props.level === 1" |
| 78 | + cols="4" |
| 79 | + > |
| 80 | + <v-text-field |
| 81 | + v-model="tableSettings.search" |
| 82 | + class="mt-0 pt-0" |
| 83 | + clearable |
| 84 | + density="compact" |
| 85 | + hide-details |
| 86 | + label="Search" |
| 87 | + single-line |
| 88 | + variant="outlined" |
| 89 | + ></v-text-field> |
| 90 | + </v-col> |
| 91 | + </template> --> |
| 92 | + |
| 93 | + <!-- <template #[`top.right`]="props"> |
| 94 | + <v-col |
| 95 | + v-if="props.level === 1" |
| 96 | + class="d-flex align-center justify-end" |
| 97 | + > |
| 98 | + {{ props.search }} |
| 99 | + <v-btn |
| 100 | + class="ms-2" |
| 101 | + color="primary" |
| 102 | + @click="props.toggleSelectAll()" |
| 103 | + >Toggle Select</v-btn> |
| 104 | + <v-btn |
| 105 | + class="ms-2" |
| 106 | + color="primary" |
| 107 | + @click="props.selectAll(true)" |
| 108 | + >Select All</v-btn> |
| 109 | + <v-btn |
| 110 | + class="ms-2" |
| 111 | + color="primary" |
| 112 | + @click="props.selectAll(false)" |
| 113 | + >De-Select All</v-btn> |
| 114 | + </v-col> |
| 115 | + </template> --> |
| 116 | + |
| 117 | + <!-- <template #[`header.data-table-select`]> |
| 118 | + <div class="d-flex justify-center"> |
| 119 | + <v-icon>mdi mdi-vuetify</v-icon> |
| 120 | + </div> |
| 121 | + </template> --> |
| 122 | + |
| 123 | + <!-- <template #[`header.sortIcon`]> |
| 124 | + <fa-icon icon="fa-solid fa-arrow-up"></fa-icon> |
| 125 | + </template> --> |
| 126 | + |
| 127 | + <!-- <template #[`header.id`]="{ column }"> |
| 128 | + [header cell Slot]: slot {{ column.title }} |
| 129 | + </template> --> |
| 130 | + |
| 131 | + <!-- <template #thead="props"> |
| 132 | + <thead> |
| 133 | + <tr> |
| 134 | + <td |
| 135 | + v-for="column in props.columns" |
| 136 | + :key="column" |
| 137 | + > |
| 138 | + {{ column.title }} |
| 139 | + </td> |
| 140 | + </tr> |
| 141 | + </thead> |
| 142 | + </template> --> |
| 143 | + |
| 144 | + <!-- <template #body> |
| 145 | + [body Slot] |
| 146 | + </template> --> |
| 147 | + |
| 148 | + <!-- <template #tbody="{ props }"> |
| 149 | + <tbody> |
| 150 | + <tr> |
| 151 | + <td :colspan="Object.keys(tableSettings.headers.users).length"> |
| 152 | + [tbody Slot] {{ props }} |
| 153 | + </td> |
| 154 | + </tr> |
| 155 | + </tbody> |
| 156 | + </template> --> |
| 157 | + |
| 158 | + <!-- <template #[`item.id`]="{ item }"> |
| 159 | + [item cell Slot]: {{ item.raw.id }} |
| 160 | + </template> --> |
| 161 | + |
| 162 | + <!-- <template #[`item.data-table-select`]> |
| 163 | + <v-icon>mdi mdi-vuetify</v-icon> |
| 164 | + </template> --> |
| 165 | + |
| 166 | + <!-- <template #[`item.data-table-expand`]> |
| 167 | + <fa-icon icon="fa-solid fa-chevron-down"></fa-icon> |
| 168 | + </template> --> |
| 169 | + |
| 170 | + <!-- <template #tfoot="props"> |
| 171 | + <tfoot> |
| 172 | + <tr> |
| 173 | + <td |
| 174 | + v-for="column in props.columns" |
| 175 | + :key="column" |
| 176 | + > |
| 177 | + {{ column.title }} |
| 178 | + </td> |
| 179 | + </tr> |
| 180 | + </tfoot> |
| 181 | + </template> --> |
| 182 | + |
| 183 | + <!-- <template #[`tfoot.name`]> |
| 184 | + <td> |
| 185 | + [tfoot Slot] |
| 186 | + </td> |
| 187 | + </template> --> |
| 188 | + |
| 189 | + <!-- <template #bottom> |
| 190 | + [bottom Slot] |
| 191 | + </template> --> |
| 192 | + |
| 193 | + <!-- <template #[`footer.prepend`]> |
| 194 | + <div class="me-2"> |
| 195 | + [footer.prepend Slot] |
| 196 | + </div> |
| 197 | + </template> --> |
62 | 198 | </VDrilldownTable> |
63 | 199 | </v-col> |
64 | 200 | </template> |
|
0 commit comments