|
|
|
@ -2,7 +2,17 @@
|
|
|
|
|
import { handleTZ } from 'nocodb-sdk' |
|
|
|
|
import type { ColumnType } from 'nocodb-sdk' |
|
|
|
|
import type { Ref } from 'vue' |
|
|
|
|
import { CellValueInj, ColumnInj, IsExpandedFormOpenInj, computed, inject, renderValue, replaceUrlsWithLink, useBase, useGlobal } from '#imports' |
|
|
|
|
import { |
|
|
|
|
CellValueInj, |
|
|
|
|
ColumnInj, |
|
|
|
|
IsExpandedFormOpenInj, |
|
|
|
|
computed, |
|
|
|
|
inject, |
|
|
|
|
renderValue, |
|
|
|
|
replaceUrlsWithLink, |
|
|
|
|
useBase, |
|
|
|
|
useGlobal, |
|
|
|
|
} from '#imports' |
|
|
|
|
|
|
|
|
|
// todo: column type doesn't have required property `error` - throws in typecheck |
|
|
|
|
const column = inject(ColumnInj) as Ref<ColumnType & { colOptions: { error: any } }> |
|
|
|
@ -42,7 +52,6 @@ const { showEditNonEditableFieldWarning, showClearNonEditableFieldWarning, activ
|
|
|
|
|
}" |
|
|
|
|
@dblclick="activateShowEditNonEditableFieldWarning" |
|
|
|
|
> |
|
|
|
|
|
|
|
|
|
<div v-if="urls" v-html="urls" /> |
|
|
|
|
|
|
|
|
|
<div v-else>{{ result }}</div> |
|
|
|
|