|
|
@ -66,7 +66,7 @@ const isForm = inject(IsFormInj, ref(false)) |
|
|
|
|
|
|
|
|
|
|
|
const isKanban = inject(IsKanbanInj, ref(false)) |
|
|
|
const isKanban = inject(IsKanbanInj, ref(false)) |
|
|
|
|
|
|
|
|
|
|
|
const { isMysql, isMssql } = useBase() |
|
|
|
const { isMysql, isMssql, isXcdbBase } = useBase() |
|
|
|
|
|
|
|
|
|
|
|
const reloadDataTrigger = inject(ReloadViewDataHookInj) |
|
|
|
const reloadDataTrigger = inject(ReloadViewDataHookInj) |
|
|
|
|
|
|
|
|
|
|
@ -86,9 +86,9 @@ const showDeprecated = ref(false) |
|
|
|
|
|
|
|
|
|
|
|
const uiTypesOptions = computed<typeof uiTypes>(() => { |
|
|
|
const uiTypesOptions = computed<typeof uiTypes>(() => { |
|
|
|
return [ |
|
|
|
return [ |
|
|
|
...uiTypes.filter( |
|
|
|
...uiTypes |
|
|
|
(t) => geoDataToggleCondition(t) && (!isEdit.value || !t.virtual) && (!t.deprecated || showDeprecated.value), |
|
|
|
.filter((t) => geoDataToggleCondition(t) && (!isEdit.value || !t.virtual) && (!t.deprecated || showDeprecated.value)) |
|
|
|
), |
|
|
|
.filter((t) => !(t.name === UITypes.SpecificDBType && isXcdbBase(meta.value?.source_id))), |
|
|
|
...(!isEdit.value && meta?.value?.columns?.every((c) => !c.pk) |
|
|
|
...(!isEdit.value && meta?.value?.columns?.every((c) => !c.pk) |
|
|
|
? [ |
|
|
|
? [ |
|
|
|
{ |
|
|
|
{ |
|
|
|