|
|
|
@ -18,9 +18,9 @@ import {
|
|
|
|
|
useI18n, |
|
|
|
|
useMetas, |
|
|
|
|
useNuxtApp, |
|
|
|
|
useProject, |
|
|
|
|
watchEffect, |
|
|
|
|
} from '#imports' |
|
|
|
|
import { useProject } from '~/composables/useProject' |
|
|
|
|
import MdiPlusIcon from '~icons/mdi/plus-circle-outline' |
|
|
|
|
import MdiMinusIcon from '~icons/mdi/minus-circle-outline' |
|
|
|
|
import MdiIdentifierIcon from '~icons/mdi/identifier' |
|
|
|
@ -54,7 +54,7 @@ const reloadDataTrigger = inject(ReloadViewDataHookInj)
|
|
|
|
|
|
|
|
|
|
const advancedOptions = ref(false) |
|
|
|
|
|
|
|
|
|
const advancedDBOptions = ref(false) |
|
|
|
|
const advancedDbOptions = ref(false) |
|
|
|
|
|
|
|
|
|
const columnToValidate = [UITypes.Email, UITypes.URL, UITypes.PhoneNumber] |
|
|
|
|
|
|
|
|
@ -203,7 +203,7 @@ useEventListener('keydown', (e: KeyboardEvent) => {
|
|
|
|
|
v-if="!isVirtualCol(formState.uidt)" |
|
|
|
|
class="text-xs cursor-pointer text-grey nc-more-options mb-1 mt-4 flex items-center gap-1 justify-end" |
|
|
|
|
@click="advancedOptions = !advancedOptions" |
|
|
|
|
@dblclick="advancedDBOptions = !advancedDBOptions" |
|
|
|
|
@dblclick="advancedDbOptions = !advancedDbOptions" |
|
|
|
|
> |
|
|
|
|
{{ advancedOptions ? $t('general.hideAll') : $t('general.showMore') }} |
|
|
|
|
<component :is="advancedOptions ? MdiMinusIcon : MdiPlusIcon" /> |
|
|
|
@ -228,7 +228,7 @@ useEventListener('keydown', (e: KeyboardEvent) => {
|
|
|
|
|
|
|
|
|
|
<LazySmartsheetColumnAdvancedOptions |
|
|
|
|
v-model:value="formState" |
|
|
|
|
:advanced-d-b-options="advancedDBOptions && !isXcdbBase(meta.base_id)" |
|
|
|
|
:advanced-db-options="advancedDbOptions && !isXcdbBase(meta.base_id)" |
|
|
|
|
/> |
|
|
|
|
</div> |
|
|
|
|
</Transition> |
|
|
|
|