|
|
@ -1,23 +1,23 @@ |
|
|
|
<script setup lang="ts"> |
|
|
|
<script setup lang="ts"> |
|
|
|
import Draggable from 'vuedraggable' |
|
|
|
import Draggable from 'vuedraggable' |
|
|
|
import { RelationTypes, UITypes, ViewTypes, getSystemColumns, isLinksOrLTAR, isVirtualCol } from 'nocodb-sdk' |
|
|
|
import {getSystemColumns, isLinksOrLTAR, isVirtualCol, RelationTypes, UITypes, ViewTypes} from 'nocodb-sdk' |
|
|
|
import type {Permission} from '#imports' |
|
|
|
import type {Permission} from '#imports' |
|
|
|
import { |
|
|
|
import { |
|
|
|
ActiveViewInj, |
|
|
|
ActiveViewInj, |
|
|
|
IsFormInj, |
|
|
|
|
|
|
|
IsGalleryInj, |
|
|
|
|
|
|
|
MetaInj, |
|
|
|
|
|
|
|
ReloadViewDataHookInj, |
|
|
|
|
|
|
|
computed, |
|
|
|
computed, |
|
|
|
createEventHook, |
|
|
|
createEventHook, |
|
|
|
extractSdkResponseErrorMsg, |
|
|
|
extractSdkResponseErrorMsg, |
|
|
|
iconMap, |
|
|
|
iconMap, |
|
|
|
inject, |
|
|
|
inject, |
|
|
|
|
|
|
|
IsFormInj, |
|
|
|
|
|
|
|
IsGalleryInj, |
|
|
|
message, |
|
|
|
message, |
|
|
|
|
|
|
|
MetaInj, |
|
|
|
onClickOutside, |
|
|
|
onClickOutside, |
|
|
|
provide, |
|
|
|
provide, |
|
|
|
reactive, |
|
|
|
reactive, |
|
|
|
ref, |
|
|
|
ref, |
|
|
|
|
|
|
|
ReloadViewDataHookInj, |
|
|
|
useDebounceFn, |
|
|
|
useDebounceFn, |
|
|
|
useGlobal, |
|
|
|
useGlobal, |
|
|
|
useI18n, |
|
|
|
useI18n, |
|
|
@ -34,7 +34,7 @@ provide(IsGalleryInj, ref(false)) |
|
|
|
// todo: generate hideCols based on default values |
|
|
|
// todo: generate hideCols based on default values |
|
|
|
const hiddenCols = ['created_at', 'updated_at'] |
|
|
|
const hiddenCols = ['created_at', 'updated_at'] |
|
|
|
|
|
|
|
|
|
|
|
const hiddenColTypes = [UITypes.Rollup, UITypes.Lookup, UITypes.Formula, UITypes.QrCode, UITypes.Barcode, UITypes.SpecificDBType] |
|
|
|
const hiddenColTypes = [UITypes.Rollup, UITypes.Lookup, UITypes.Formula, UITypes.QrCode, UITypes.Barcode, UITypes.SpecificDBType, UITypes.CreateTime, UITypes.LastModifiedTime] |
|
|
|
|
|
|
|
|
|
|
|
const { isMobileMode, user } = useGlobal() |
|
|
|
const { isMobileMode, user } = useGlobal() |
|
|
|
|
|
|
|
|
|
|
|