|
|
@ -1,6 +1,13 @@ |
|
|
|
<script setup lang="ts"> |
|
|
|
<script setup lang="ts"> |
|
|
|
import type { ColumnType, TableType, ViewType } from 'nocodb-sdk' |
|
|
|
import type { ColumnType, TableType, ViewType } from 'nocodb-sdk' |
|
|
|
import { ViewTypes, isLinksOrLTAR, isSystemColumn, isVirtualCol } from 'nocodb-sdk' |
|
|
|
import { |
|
|
|
|
|
|
|
ViewTypes, |
|
|
|
|
|
|
|
isCreatedOrLastModifiedByCol, |
|
|
|
|
|
|
|
isCreatedOrLastModifiedTimeCol, |
|
|
|
|
|
|
|
isLinksOrLTAR, |
|
|
|
|
|
|
|
isSystemColumn, |
|
|
|
|
|
|
|
isVirtualCol, |
|
|
|
|
|
|
|
} from 'nocodb-sdk' |
|
|
|
import type { Ref } from 'vue' |
|
|
|
import type { Ref } from 'vue' |
|
|
|
import MdiChevronDown from '~icons/mdi/chevron-down' |
|
|
|
import MdiChevronDown from '~icons/mdi/chevron-down' |
|
|
|
|
|
|
|
|
|
|
@ -459,7 +466,14 @@ const onIsExpandedUpdate = (v: boolean) => { |
|
|
|
|
|
|
|
|
|
|
|
const isReadOnlyVirtualCell = (column: ColumnType) => { |
|
|
|
const isReadOnlyVirtualCell = (column: ColumnType) => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
isRollup(column) || isFormula(column) || isBarcode(column) || isLookup(column) || isQrCode(column) || isSystemColumn(column) |
|
|
|
isRollup(column) || |
|
|
|
|
|
|
|
isFormula(column) || |
|
|
|
|
|
|
|
isBarcode(column) || |
|
|
|
|
|
|
|
isLookup(column) || |
|
|
|
|
|
|
|
isQrCode(column) || |
|
|
|
|
|
|
|
isSystemColumn(column) || |
|
|
|
|
|
|
|
isCreatedOrLastModifiedTimeCol(column) || |
|
|
|
|
|
|
|
isCreatedOrLastModifiedByCol(column) |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|