|
|
@ -1,8 +1,7 @@ |
|
|
|
<script lang="ts" setup> |
|
|
|
<script lang="ts" setup> |
|
|
|
import type { Select as AntSelect } from 'ant-design-vue' |
|
|
|
import type { Select as AntSelect } from 'ant-design-vue' |
|
|
|
import type { SelectOptionType } from 'nocodb-sdk' |
|
|
|
import type { SelectOptionType } from 'nocodb-sdk' |
|
|
|
import { computed, inject } from '#imports' |
|
|
|
import { ActiveCellInj, ColumnInj, computed, inject } from '#imports' |
|
|
|
import { ActiveCellInj, ColumnInj } from '~/context' |
|
|
|
|
|
|
|
import MdiCloseCircle from '~icons/mdi/close-circle' |
|
|
|
import MdiCloseCircle from '~icons/mdi/close-circle' |
|
|
|
|
|
|
|
|
|
|
|
interface Props { |
|
|
|
interface Props { |
|
|
@ -20,7 +19,7 @@ const column = inject(ColumnInj) |
|
|
|
// const isForm = inject<boolean>('isForm', false) |
|
|
|
// const isForm = inject<boolean>('isForm', false) |
|
|
|
|
|
|
|
|
|
|
|
// FIXME: use editEnabled to control the UI permission |
|
|
|
// FIXME: use editEnabled to control the UI permission |
|
|
|
const editEnabled = inject(ReadonlyInj) |
|
|
|
// const editEnabled = inject(ReadonlyInj) |
|
|
|
|
|
|
|
|
|
|
|
const active = inject(ActiveCellInj, ref(false)) |
|
|
|
const active = inject(ActiveCellInj, ref(false)) |
|
|
|
|
|
|
|
|
|
|
|