|
|
@ -139,8 +139,7 @@ async function updateProjectTitle() { |
|
|
|
$e('a:base:rename') |
|
|
|
$e('a:base:rename') |
|
|
|
|
|
|
|
|
|
|
|
useTitle(`${base.value?.title}`) |
|
|
|
useTitle(`${base.value?.title}`) |
|
|
|
} |
|
|
|
} catch (e: any) { |
|
|
|
catch (e: any) { |
|
|
|
|
|
|
|
message.error(await extractSdkResponseErrorMsg(e)) |
|
|
|
message.error(await extractSdkResponseErrorMsg(e)) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -159,8 +158,7 @@ async function copyProjectInfo() { |
|
|
|
// Copied to clipboard |
|
|
|
// Copied to clipboard |
|
|
|
message.info(t('msg.info.copiedToClipboard')) |
|
|
|
message.info(t('msg.info.copiedToClipboard')) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} catch (e: any) { |
|
|
|
catch (e: any) { |
|
|
|
|
|
|
|
console.error(e) |
|
|
|
console.error(e) |
|
|
|
message.error(e.message) |
|
|
|
message.error(e.message) |
|
|
|
} |
|
|
|
} |
|
|
@ -180,8 +178,7 @@ async function setIcon(icon: string, base: BaseType) { |
|
|
|
basesStore.updateProject(base.id!, { meta: JSON.stringify(meta) }) |
|
|
|
basesStore.updateProject(base.id!, { meta: JSON.stringify(meta) }) |
|
|
|
|
|
|
|
|
|
|
|
$e('a:base:icon:navdraw', { icon }) |
|
|
|
$e('a:base:icon:navdraw', { icon }) |
|
|
|
} |
|
|
|
} catch (e: any) { |
|
|
|
catch (e: any) { |
|
|
|
|
|
|
|
message.error(await extractSdkResponseErrorMsg(e)) |
|
|
|
message.error(await extractSdkResponseErrorMsg(e)) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -227,6 +224,7 @@ function openTableCreateDialog(sourceIndex?: number | undefined) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const isAddNewProjectChildEntityLoading = ref(false) |
|
|
|
const isAddNewProjectChildEntityLoading = ref(false) |
|
|
|
|
|
|
|
|
|
|
|
async function addNewProjectChildEntity() { |
|
|
|
async function addNewProjectChildEntity() { |
|
|
|
if (isAddNewProjectChildEntityLoading.value) return |
|
|
|
if (isAddNewProjectChildEntityLoading.value) return |
|
|
|
|
|
|
|
|
|
|
@ -246,8 +244,7 @@ async function addNewProjectChildEntity() { |
|
|
|
if (!base.value.isExpanded && base.value.type !== NcProjectType.DB) { |
|
|
|
if (!base.value.isExpanded && base.value.type !== NcProjectType.DB) { |
|
|
|
base.value.isExpanded = true |
|
|
|
base.value.isExpanded = true |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} finally { |
|
|
|
finally { |
|
|
|
|
|
|
|
isAddNewProjectChildEntityLoading.value = false |
|
|
|
isAddNewProjectChildEntityLoading.value = false |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -264,8 +261,7 @@ async function onProjectClick(base: NcProject, ignoreNavigation?: boolean, toggl |
|
|
|
|
|
|
|
|
|
|
|
if (toggleIsExpanded) { |
|
|
|
if (toggleIsExpanded) { |
|
|
|
base.isExpanded = !base.isExpanded |
|
|
|
base.isExpanded = !base.isExpanded |
|
|
|
} |
|
|
|
} else { |
|
|
|
else { |
|
|
|
|
|
|
|
base.isExpanded = true |
|
|
|
base.isExpanded = true |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -315,8 +311,7 @@ function openErdView(source: SourceType) { |
|
|
|
const contextMenuBase = computed(() => { |
|
|
|
const contextMenuBase = computed(() => { |
|
|
|
if (contextMenuTarget.type === 'source') { |
|
|
|
if (contextMenuTarget.type === 'source') { |
|
|
|
return contextMenuTarget.value |
|
|
|
return contextMenuTarget.value |
|
|
|
} |
|
|
|
} else if (contextMenuTarget.type === 'table') { |
|
|
|
else if (contextMenuTarget.type === 'table') { |
|
|
|
|
|
|
|
const source = base.value?.sources?.find((b) => b.id === contextMenuTarget.value.source_id) |
|
|
|
const source = base.value?.sources?.find((b) => b.id === contextMenuTarget.value.source_id) |
|
|
|
if (source) return source |
|
|
|
if (source) return source |
|
|
|
} |
|
|
|
} |
|
|
@ -402,8 +397,9 @@ function projectDelete() { |
|
|
|
</NcButton> |
|
|
|
</NcButton> |
|
|
|
|
|
|
|
|
|
|
|
<div class="flex items-center mr-1" @click="onProjectClick(base)"> |
|
|
|
<div class="flex items-center mr-1" @click="onProjectClick(base)"> |
|
|
|
<div class="flex items-center select-none w-6 h-full"> |
|
|
|
<div v-e="['c:base:emojiSelect']" class="flex items-center select-none w-6 h-full"> |
|
|
|
<a-spin v-if="base.isLoading" class="!ml-1.25 !flex !flex-row !items-center !my-0.5 w-8" :indicator="indicator" /> |
|
|
|
<a-spin v-if="base.isLoading" class="!ml-1.25 !flex !flex-row !items-center !my-0.5 w-8" :indicator="indicator" /> |
|
|
|
|
|
|
|
|
|
|
|
<LazyGeneralEmojiPicker |
|
|
|
<LazyGeneralEmojiPicker |
|
|
|
v-else |
|
|
|
v-else |
|
|
|
:key="base.meta?.icon" |
|
|
|
:key="base.meta?.icon" |
|
|
@ -412,9 +408,7 @@ function projectDelete() { |
|
|
|
size="small" |
|
|
|
size="small" |
|
|
|
@emoji-selected="setIcon($event, base)" |
|
|
|
@emoji-selected="setIcon($event, base)" |
|
|
|
> |
|
|
|
> |
|
|
|
<div v-e="['c:base:emojiSelect']"> |
|
|
|
|
|
|
|
<GeneralProjectIcon :type="base.type" /> |
|
|
|
<GeneralProjectIcon :type="base.type" /> |
|
|
|
</div> |
|
|
|
|
|
|
|
</LazyGeneralEmojiPicker> |
|
|
|
</LazyGeneralEmojiPicker> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -441,8 +435,7 @@ function projectDelete() { |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<div :class="{ 'flex flex-grow h-full': !editMode }" @click="onProjectClick(base)"></div> |
|
|
|
<div :class="{ 'flex flex-grow h-full': !editMode }" @click="onProjectClick(base)"></div> |
|
|
|
|
|
|
|
|
|
|
|
<template v-if="!isSharedBase"> |
|
|
|
<NcDropdown v-if="!isSharedBase" v-model:visible="isOptionsOpen" :trigger="['click']"> |
|
|
|
<NcDropdown v-model:visible="isOptionsOpen" :trigger="['click']"> |
|
|
|
|
|
|
|
<NcButton |
|
|
|
<NcButton |
|
|
|
v-e="['c:base:options']" |
|
|
|
v-e="['c:base:options']" |
|
|
|
class="nc-sidebar-node-btn" |
|
|
|
class="nc-sidebar-node-btn" |
|
|
@ -454,79 +447,15 @@ function projectDelete() { |
|
|
|
> |
|
|
|
> |
|
|
|
<GeneralIcon icon="threeDotHorizontal" class="text-xl w-4.75" /> |
|
|
|
<GeneralIcon icon="threeDotHorizontal" class="text-xl w-4.75" /> |
|
|
|
</NcButton> |
|
|
|
</NcButton> |
|
|
|
|
|
|
|
<template #overlay> |
|
|
|
<NcMenuItem |
|
|
|
<NcMenu |
|
|
|
v-if="isUIAllowed('baseDuplicate', { roles: [stringifyRolesObj(orgRoles), baseRole].join() })" |
|
|
|
class="nc-scrollbar-md" |
|
|
|
data-testid="nc-sidebar-base-duplicate" |
|
|
|
:style="{ |
|
|
|
@click="duplicateProject(base)" |
|
|
|
maxHeight: '70vh', |
|
|
|
> |
|
|
|
overflow: 'overlay', |
|
|
|
<div v-e="['c:base:duplicate']" class="flex gap-2 items-center"> |
|
|
|
}" |
|
|
|
<GeneralIcon icon="duplicate" class="text-gray-700" /> |
|
|
|
:data-testid="`nc-sidebar-base-${base.title}-options`" |
|
|
|
{{ $t('general.duplicate') }} |
|
|
|
@click="isOptionsOpen = false" |
|
|
|
</div> |
|
|
|
|
|
|
|
</NcMenuItem> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<NcDivider v-if="['baseDuplicate', 'baseRename'].some((permission) => isUIAllowed(permission))" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Copy Project Info --> |
|
|
|
|
|
|
|
<NcMenuItem |
|
|
|
|
|
|
|
v-if="!isEeUI" |
|
|
|
|
|
|
|
key="copy" |
|
|
|
|
|
|
|
data-testid="nc-sidebar-base-copy-base-info" |
|
|
|
|
|
|
|
@click.stop="copyProjectInfo" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<div v-e="['c:base:copy-proj-info']" class="flex gap-2 items-center"> |
|
|
|
|
|
|
|
<GeneralIcon icon="copy" class="group-hover:text-black" /> |
|
|
|
|
|
|
|
{{ $t('activity.account.projInfo') }} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</NcMenuItem> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ERD View --> |
|
|
|
|
|
|
|
<NcMenuItem |
|
|
|
|
|
|
|
key="erd" |
|
|
|
|
|
|
|
data-testid="nc-sidebar-base-relations" |
|
|
|
|
|
|
|
@click="openErdView(base?.sources?.[0]!)" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<div v-e="['c:base:erd']" class="flex gap-2 items-center"> |
|
|
|
|
|
|
|
<GeneralIcon icon="erd" /> |
|
|
|
|
|
|
|
{{ $t('title.relations') }} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</NcMenuItem> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Swagger: Rest APIs --> |
|
|
|
|
|
|
|
<NcMenuItem |
|
|
|
|
|
|
|
v-if="isUIAllowed('apiDocs')" |
|
|
|
|
|
|
|
key="api" |
|
|
|
|
|
|
|
v-e="['c:base:api-docs']" |
|
|
|
|
|
|
|
data-testid="nc-sidebar-base-rest-apis" |
|
|
|
|
|
|
|
@click.stop=" |
|
|
|
|
|
|
|
() => { |
|
|
|
|
|
|
|
$e('c:base:api-docs') |
|
|
|
|
|
|
|
openLink(`/api/v2/meta/bases/${base.id}/swagger`, appInfo.ncSiteUrl) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<div v-e="['c:base:api-docs']" class="flex gap-2 items-center"> |
|
|
|
|
|
|
|
<GeneralIcon icon="snippet" class="group-hover:text-black !max-w-3.9" /> |
|
|
|
|
|
|
|
{{ $t('activity.account.swagger') }} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</NcMenuItem> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<template v-if="base.sources && base.sources[0] && showBaseOption"> |
|
|
|
|
|
|
|
<NcDivider /> |
|
|
|
|
|
|
|
<DashboardTreeViewBaseOptions v-model:base="base" :source="base.sources[0]" /> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<NcDivider v-if="['baseMiscSettings', 'baseDelete'].some((permission) => isUIAllowed(permission))" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<NcMenuItem |
|
|
|
|
|
|
|
v-if="isUIAllowed('baseMiscSettings')" |
|
|
|
|
|
|
|
key="teamAndSettings" |
|
|
|
|
|
|
|
v-e="['c:base:settings']" |
|
|
|
|
|
|
|
data-testid="nc-sidebar-base-settings" |
|
|
|
|
|
|
|
class="nc-sidebar-base-base-settings" |
|
|
|
|
|
|
|
@click="toggleDialog(true, 'teamAndAuth', undefined, base.id)" |
|
|
|
|
|
|
|
> |
|
|
|
> |
|
|
|
<template v-if="!isSharedBase"> |
|
|
|
<template v-if="!isSharedBase"> |
|
|
|
<NcMenuItem v-if="isUIAllowed('baseRename')" data-testid="nc-sidebar-project-rename" @click="enableEditMode"> |
|
|
|
<NcMenuItem v-if="isUIAllowed('baseRename')" data-testid="nc-sidebar-project-rename" @click="enableEditMode"> |
|
|
@ -578,7 +507,7 @@ function projectDelete() { |
|
|
|
@click.stop=" |
|
|
|
@click.stop=" |
|
|
|
() => { |
|
|
|
() => { |
|
|
|
$e('c:base:api-docs') |
|
|
|
$e('c:base:api-docs') |
|
|
|
openLink(`/api/v1/db/meta/projects/${base.id}/swagger`, appInfo.ncSiteUrl) |
|
|
|
openLink(`/api/v2/meta/bases/${base.id}/swagger`, appInfo.ncSiteUrl) |
|
|
|
} |
|
|
|
} |
|
|
|
" |
|
|
|
" |
|
|
|
> |
|
|
|
> |
|
|
@ -589,10 +518,10 @@ function projectDelete() { |
|
|
|
</NcMenuItem> |
|
|
|
</NcMenuItem> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<div v-if="base.sources && base.sources[0] && showBaseOption"> |
|
|
|
<template v-if="base.sources && base.sources[0] && showBaseOption"> |
|
|
|
<NcDivider /> |
|
|
|
<NcDivider /> |
|
|
|
<DashboardTreeViewBaseOptions v-model:base="base" :source="base.sources[0]" /> |
|
|
|
<DashboardTreeViewBaseOptions v-model:base="base" :source="base.sources[0]" /> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<NcDivider v-if="['baseMiscSettings', 'baseDelete'].some((permission) => isUIAllowed(permission))" /> |
|
|
|
<NcDivider v-if="['baseMiscSettings', 'baseDelete'].some((permission) => isUIAllowed(permission))" /> |
|
|
|
|
|
|
|
|
|
|
@ -608,7 +537,6 @@ function projectDelete() { |
|
|
|
{{ $t('activity.settings') }} |
|
|
|
{{ $t('activity.settings') }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</NcMenuItem> |
|
|
|
</NcMenuItem> |
|
|
|
|
|
|
|
|
|
|
|
<NcMenuItem |
|
|
|
<NcMenuItem |
|
|
|
v-if="isUIAllowed('baseDelete', { roles: [stringifyRolesObj(orgRoles), baseRole].join() })" |
|
|
|
v-if="isUIAllowed('baseDelete', { roles: [stringifyRolesObj(orgRoles), baseRole].join() })" |
|
|
|
data-testid="nc-sidebar-base-delete" |
|
|
|
data-testid="nc-sidebar-base-delete" |
|
|
@ -623,10 +551,10 @@ function projectDelete() { |
|
|
|
</NcMenu> |
|
|
|
</NcMenu> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</NcDropdown> |
|
|
|
</NcDropdown> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div v-if="isUIAllowed('tableCreate', { roles: baseRole })" v-e="['c:base:create-table']"> |
|
|
|
|
|
|
|
<NcButton |
|
|
|
<NcButton |
|
|
|
|
|
|
|
v-if="isUIAllowed('tableCreate', { roles: baseRole })" |
|
|
|
|
|
|
|
v-e="['c:base:create-table']" |
|
|
|
class="nc-sidebar-node-btn" |
|
|
|
class="nc-sidebar-node-btn" |
|
|
|
size="xxsmall" |
|
|
|
size="xxsmall" |
|
|
|
type="text" |
|
|
|
type="text" |
|
|
@ -639,7 +567,6 @@ function projectDelete() { |
|
|
|
</NcButton> |
|
|
|
</NcButton> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div |
|
|
|
<div |
|
|
|
v-if="base.id && !base.isLoading" |
|
|
|
v-if="base.id && !base.isLoading" |
|
|
@ -679,7 +606,6 @@ function projectDelete() { |
|
|
|
:class="{ '!rotate-180': isActive }" |
|
|
|
:class="{ '!rotate-180': isActive }" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<a-collapse-panel :key="`collapse-${source.id}`"> |
|
|
|
<a-collapse-panel :key="`collapse-${source.id}`"> |
|
|
|
<template #header> |
|
|
|
<template #header> |
|
|
@ -718,8 +644,8 @@ function projectDelete() { |
|
|
|
:trigger="['click']" |
|
|
|
:trigger="['click']" |
|
|
|
@update:visible="isBasesOptionsOpen[source!.id!] = $event" |
|
|
|
@update:visible="isBasesOptionsOpen[source!.id!] = $event" |
|
|
|
> |
|
|
|
> |
|
|
|
<div v-e="['c:source:options']"> |
|
|
|
|
|
|
|
<NcButton |
|
|
|
<NcButton |
|
|
|
|
|
|
|
v-e="['c:source:options']" |
|
|
|
class="nc-sidebar-node-btn" |
|
|
|
class="nc-sidebar-node-btn" |
|
|
|
:class="{ '!text-black !opacity-100': isBasesOptionsOpen[source!.id!] }" |
|
|
|
:class="{ '!text-black !opacity-100': isBasesOptionsOpen[source!.id!] }" |
|
|
|
type="text" |
|
|
|
type="text" |
|
|
@ -728,8 +654,6 @@ function projectDelete() { |
|
|
|
> |
|
|
|
> |
|
|
|
<GeneralIcon icon="threeDotHorizontal" class="text-xl w-4.75" /> |
|
|
|
<GeneralIcon icon="threeDotHorizontal" class="text-xl w-4.75" /> |
|
|
|
</NcButton> |
|
|
|
</NcButton> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<template #overlay> |
|
|
|
<template #overlay> |
|
|
|
<NcMenu |
|
|
|
<NcMenu |
|
|
|
class="nc-scrollbar-md" |
|
|
|
class="nc-scrollbar-md" |
|
|
@ -752,8 +676,9 @@ function projectDelete() { |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</NcDropdown> |
|
|
|
</NcDropdown> |
|
|
|
|
|
|
|
|
|
|
|
<div v-if="isUIAllowed('tableCreate', { roles: baseRole })" v-e="['c:source:add-table']"> |
|
|
|
|
|
|
|
<NcButton |
|
|
|
<NcButton |
|
|
|
|
|
|
|
v-if="isUIAllowed('tableCreate', { roles: baseRole })" |
|
|
|
|
|
|
|
v-e="['c:source:add-table']" |
|
|
|
type="text" |
|
|
|
type="text" |
|
|
|
size="xxsmall" |
|
|
|
size="xxsmall" |
|
|
|
class="nc-sidebar-node-btn" |
|
|
|
class="nc-sidebar-node-btn" |
|
|
@ -763,7 +688,6 @@ function projectDelete() { |
|
|
|
</NcButton> |
|
|
|
</NcButton> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<div |
|
|
|
<div |
|
|
|
ref="menuRefs" |
|
|
|
ref="menuRefs" |
|
|
@ -773,7 +697,6 @@ function projectDelete() { |
|
|
|
<DashboardTreeViewTableList :base="base" :source-index="sourceIndex" /> |
|
|
|
<DashboardTreeViewTableList :base="base" :source-index="sourceIndex" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a-collapse-panel> |
|
|
|
</a-collapse-panel> |
|
|
|
|
|
|
|
|
|
|
|
</a-collapse> |
|
|
|
</a-collapse> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -795,6 +718,7 @@ function projectDelete() { |
|
|
|
{{ $t('general.rename') }} |
|
|
|
{{ $t('general.rename') }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</NcMenuItem> |
|
|
|
</NcMenuItem> |
|
|
|
|
|
|
|
|
|
|
|
<NcMenuItem |
|
|
|
<NcMenuItem |
|
|
|
v-if="isUIAllowed('tableDuplicate') && (contextMenuBase?.is_meta || contextMenuBase?.is_local)" |
|
|
|
v-if="isUIAllowed('tableDuplicate') && (contextMenuBase?.is_meta || contextMenuBase?.is_local)" |
|
|
|
@click="duplicateTable(contextMenuTarget.value)" |
|
|
|
@click="duplicateTable(contextMenuTarget.value)" |
|
|
@ -814,7 +738,6 @@ function projectDelete() { |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</NcMenu> |
|
|
|
</NcMenu> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
</NcDropdown> |
|
|
|
</NcDropdown> |
|
|
|
<DlgTableDelete |
|
|
|
<DlgTableDelete |
|
|
|
v-if="contextMenuTarget.value?.id && base?.id" |
|
|
|
v-if="contextMenuTarget.value?.id && base?.id" |
|
|
@ -822,11 +745,8 @@ function projectDelete() { |
|
|
|
:table-id="contextMenuTarget.value?.id" |
|
|
|
:table-id="contextMenuTarget.value?.id" |
|
|
|
:base-id="base?.id" |
|
|
|
:base-id="base?.id" |
|
|
|
/> |
|
|
|
/> |
|
|
|
|
|
|
|
|
|
|
|
<DlgProjectDelete v-model:visible="isProjectDeleteDialogVisible" :base-id="base?.id" /> |
|
|
|
<DlgProjectDelete v-model:visible="isProjectDeleteDialogVisible" :base-id="base?.id" /> |
|
|
|
|
|
|
|
|
|
|
|
<DlgProjectDuplicate v-if="selectedProjectToDuplicate" v-model="isDuplicateDlgOpen" :base="selectedProjectToDuplicate" /> |
|
|
|
<DlgProjectDuplicate v-if="selectedProjectToDuplicate" v-model="isDuplicateDlgOpen" :base="selectedProjectToDuplicate" /> |
|
|
|
|
|
|
|
|
|
|
|
<GeneralModal v-model:visible="isErdModalOpen" size="large"> |
|
|
|
<GeneralModal v-model:visible="isErdModalOpen" size="large"> |
|
|
|
<div class="h-[80vh]"> |
|
|
|
<div class="h-[80vh]"> |
|
|
|
<LazyDashboardSettingsErd :source-id="activeBaseId" /> |
|
|
|
<LazyDashboardSettingsErd :source-id="activeBaseId" /> |
|
|
|