|
|
|
@ -78,7 +78,7 @@ const onMove = (event: { moved: { newIndex: number } }) => {
|
|
|
|
|
<template> |
|
|
|
|
<a-dropdown :trigger="['click']"> |
|
|
|
|
<div :class="{ 'nc-badge nc-active-btn': isAnyFieldHidden }"> |
|
|
|
|
<a-button v-t="['c:fields']" class="nc-fields-menu-btn nc-toolbar-btn text-xs" :disabled="isLocked" size="small"> |
|
|
|
|
<a-button v-t="['c:fields']" class="nc-fields-menu-btn nc-toolbar-btn" :disabled="isLocked" size="small"> |
|
|
|
|
<div class="flex align-center gap-1"> |
|
|
|
|
<!-- <v-icon small class="mr-1" color="#777"> mdi-eye-off-outline </v-icon> --> |
|
|
|
|
<MdiEyeIcon class="text-grey"></MdiEyeIcon> |
|
|
|
@ -89,7 +89,7 @@ const onMove = (event: { moved: { newIndex: number } }) => {
|
|
|
|
|
</a-button> |
|
|
|
|
</div> |
|
|
|
|
<template #overlay> |
|
|
|
|
<div class="pt-0 min-w-[280px] bg-white shadow" @click.stop> |
|
|
|
|
<div class="pt-0 min-w-[280px] bg-gray-50 shadow nc-table-toolbar-menu" @click.stop> |
|
|
|
|
<div class="p-1" @click.stop> |
|
|
|
|
<a-input v-model:value="filterQuery" size="small" :placeholder="$t('placeholder.searchFields')" /> |
|
|
|
|
</div> |
|
|
|
@ -114,11 +114,11 @@ const onMove = (event: { moved: { newIndex: number } }) => {
|
|
|
|
|
</a-checkbox> |
|
|
|
|
</div> |
|
|
|
|
<div class="p-2 flex gap-2" @click.stop> |
|
|
|
|
<a-button size="small" class="text-gray-500 text-xs text-capitalize" @click.stop="showAll"> |
|
|
|
|
<a-button size="small" class="text-xs text-gray-500 text-capitalize" @click.stop="showAll"> |
|
|
|
|
<!-- Show All --> |
|
|
|
|
{{ $t('general.showAll') }} |
|
|
|
|
</a-button> |
|
|
|
|
<a-button size="small" class="text-gray-500 text-xs text-capitalize" @click.stop="hideAll"> |
|
|
|
|
<a-button size="small" class="text-xs text-gray-500 text-capitalize" @click.stop="hideAll"> |
|
|
|
|
<!-- Hide All --> |
|
|
|
|
{{ $t('general.hideAll') }} |
|
|
|
|
</a-button> |
|
|
|
|