@mythpe/quasar-ui-qui 0.3.95 → 0.3.96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mythpe/quasar-ui-qui",
3
- "version": "0.3.95",
3
+ "version": "0.3.96",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -1017,7 +1017,10 @@ defineExpose({
1017
1017
  </MTooltip>
1018
1018
  </q-btn>
1019
1019
  </template>
1020
- <template #append>
1020
+ <template
1021
+ v-if="!hideSearchColumns"
1022
+ #append
1023
+ >
1021
1024
  <q-btn
1022
1025
  :icon="`ion-ios-${lockSearch ? 'magnet' : 'lock'}`"
1023
1026
  fab-mini
@@ -151,6 +151,9 @@ export const useDtHelpers = (options: MaybeRefOrGetter<MDatatableProps>) => {
151
151
  searchColumnsRef.value = isSearchSelectedAll.value ? [getSearchColumnsHeaders.value[0].name] : getSearchColumnsHeaders.value.map(e => e.name)
152
152
  }
153
153
  const searchPlaceholder = computed<string>(() => {
154
+ if (props.hideSearchColumns) {
155
+ return __('labels.search')
156
+ }
154
157
  if (searchColumnsRef.value.length > 0) {
155
158
  return __('myth.datatable.searchInputPlaceholder',
156
159
  {