Browse Source

refactor(gui-v2): rplace vuetify class names

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3096/head
Pranav C 2 years ago
parent
commit
bb4d1c35bf
  1. 8
      packages/nc-gui-v2/components/smartsheet-toolbar/ColumnFilter.vue
  2. 2
      packages/nc-gui-v2/components/smartsheet/sidebar/MenuTop.vue
  3. 1
      packages/nc-gui-v2/nuxt.config.ts

8
packages/nc-gui-v2/components/smartsheet-toolbar/ColumnFilter.vue

@ -132,7 +132,7 @@ defineExpose({
<a-select <a-select
v-model:value="filter.logical_op" v-model:value="filter.logical_op"
:dropdown-match-select-width="false" :dropdown-match-select-width="false"
class="flex-shrink-1 flex-grow-0 elevation-0 caption" class="shrink grow-0"
placeholder="Group op" placeholder="Group op"
@click.stop @click.stop
@change="saveOrUpdate(filter, i)" @change="saveOrUpdate(filter, i)"
@ -172,7 +172,7 @@ defineExpose({
/> />
<span v-else /> <span v-else />
<span v-if="!i" class="d-flex align-center">{{ $t('labels.where') }}</span> <span v-if="!i" class="flex items-center">{{ $t('labels.where') }}</span>
<a-select <a-select
v-else v-else
@ -184,7 +184,7 @@ defineExpose({
@click.stop @click.stop
@change="filterUpdateCondition(filter, i)" @change="filterUpdateCondition(filter, i)"
> >
<a-select-option v-for="op in logicalOps" :key="op.value" :value="op.value" class=""> <a-select-option v-for="op in logicalOps" :key="op.value" :value="op.value">
{{ op.text }} {{ op.text }}
</a-select-option> </a-select-option>
</a-select> </a-select>
@ -256,7 +256,7 @@ defineExpose({
{{ $t('activity.addFilter') }} {{ $t('activity.addFilter') }}
</div> </div>
</a-button> </a-button>
<a-button class="elevation-0 text-capitalize !text-gray-500" @click.stop="addFilterGroup"> <a-button class="text-capitalize !text-gray-500" @click.stop="addFilterGroup">
<div class="flex align-center gap-1"> <div class="flex align-center gap-1">
<!-- <v-icon small color="grey"> mdi-plus </v-icon> --> <!-- <v-icon small color="grey"> mdi-plus </v-icon> -->
<MdiAddIcon /> <MdiAddIcon />

2
packages/nc-gui-v2/components/smartsheet/sidebar/MenuTop.vue

@ -236,7 +236,7 @@ function onDeleted() {
} }
.active { .active {
@apply bg-primary/20 text-primary font-weight-medium; @apply bg-primary/20 text-primary font-medium;
} }
} }
</style> </style>

1
packages/nc-gui-v2/nuxt.config.ts

@ -8,7 +8,6 @@ import { AntDesignVueResolver } from 'unplugin-vue-components/resolvers'
import monacoEditorPlugin from 'vite-plugin-monaco-editor' import monacoEditorPlugin from 'vite-plugin-monaco-editor'
import { themeColors } from './utils/colorsUtils' import { themeColors } from './utils/colorsUtils'
// https://v3.nuxtjs.org/api/configuration/nuxt.config // https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({ export default defineNuxtConfig({
modules: ['@vueuse/nuxt', 'nuxt-windicss', '@nuxt/image-edge'], modules: ['@vueuse/nuxt', 'nuxt-windicss', '@nuxt/image-edge'],

Loading…
Cancel
Save