83d8035dc2
* root + server * frontend * frontend-2 * dui3 * dui3 * tailwind theme * ui-components * preview service * viewer * viewer-sandbox * fileimport-service * webhook service * objectloader * shared * ui-components-nuxt * WIP full config * WIP full linter * eslint projectwide util * minor fix * removing redundant ci * clean up test errors * fixed prettier formatting * CI improvements * TSC lint fix * 'buildBatch' needs to be async since some batch types (like Text) require it. Removed a disabled liniting rule from ObjLoader * removed unnecessary void --------- Co-authored-by: AlexandruPopovici <alexandrupopoviciioan@gmail.com>
56 lines
1.1 KiB
Vue
56 lines
1.1 KiB
Vue
<template>
|
|
<LayoutDialog v-model:open="isOpen" max-width="sm">
|
|
<template #header>Manage Project</template>
|
|
<div class="flex flex-col text-foreground"></div>
|
|
</LayoutDialog>
|
|
</template>
|
|
<script setup lang="ts">
|
|
import type { ProjectPageTeamDialogFragment } from '~~/lib/common/generated/gql/graphql'
|
|
import { graphql } from '~~/lib/common/generated/gql'
|
|
import type { OpenSectionType } from '~~/lib/projects/helpers/components'
|
|
|
|
graphql(`
|
|
fragment ProjectPageTeamDialog on Project {
|
|
id
|
|
name
|
|
role
|
|
allowPublicComments
|
|
visibility
|
|
team {
|
|
id
|
|
role
|
|
user {
|
|
...LimitedUserAvatar
|
|
role
|
|
}
|
|
}
|
|
invitedTeam {
|
|
id
|
|
title
|
|
inviteId
|
|
role
|
|
user {
|
|
...LimitedUserAvatar
|
|
role
|
|
}
|
|
}
|
|
...ProjectsPageTeamDialogManagePermissions_Project
|
|
}
|
|
`)
|
|
|
|
const emit = defineEmits<{
|
|
(e: 'update:open', v: boolean): void
|
|
}>()
|
|
|
|
const props = defineProps<{
|
|
open: boolean
|
|
project: ProjectPageTeamDialogFragment
|
|
openSection?: OpenSectionType
|
|
}>()
|
|
|
|
const isOpen = computed({
|
|
get: () => props.open,
|
|
set: (newVal) => emit('update:open', newVal)
|
|
})
|
|
</script>
|