mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123 lines
3.0 KiB
123 lines
3.0 KiB
4 years ago
|
<template>
|
||
3 years ago
|
<v-dialog
|
||
3 years ago
|
v-if="show"
|
||
3 years ago
|
v-model="show"
|
||
4 years ago
|
align="center"
|
||
3 years ago
|
absolute
|
||
|
opacity=".75"
|
||
|
z-index="9"
|
||
3 years ago
|
width="max(90%,600px)"
|
||
3 years ago
|
>
|
||
3 years ago
|
<!-- :color="$store.state.settings.darkTheme ? 'white' : 'black'"-->
|
||
|
<!-- :dark="$store.state.settings.darkTheme"-->
|
||
|
<!-- :light="!$store.state.settings.darkTheme"-->
|
||
3 years ago
|
|
||
|
<div class="feat-container backgroundColorDefault" style="position: relative; min-height: 500px">
|
||
4 years ago
|
<!-- <v-card max-height="100%" min-width="95%" max-width="100%" style="overflow: auto">-->
|
||
|
<!-- <v-card-text>-->
|
||
|
|
||
|
<table-acl
|
||
|
v-if="type === 'acl'"
|
||
3 years ago
|
:nodes="nodes"
|
||
|
/>
|
||
4 years ago
|
<columns
|
||
|
v-else-if="type === 'columns'"
|
||
3 years ago
|
:delete-table="deleteTable"
|
||
|
:nodes="nodes"
|
||
|
/>
|
||
4 years ago
|
<indexes
|
||
|
v-else-if="type === 'indexes'"
|
||
3 years ago
|
:delete-table="deleteTable"
|
||
|
:nodes="nodes"
|
||
|
/>
|
||
4 years ago
|
<triggers
|
||
|
v-else-if="type === 'triggers'"
|
||
3 years ago
|
:nodes="nodes"
|
||
|
/>
|
||
4 years ago
|
<webhooks
|
||
|
v-else-if="type === 'webhooks'"
|
||
3 years ago
|
class=""
|
||
3 years ago
|
:nodes="nodes"
|
||
3 years ago
|
@close="show=false"
|
||
3 years ago
|
/>
|
||
4 years ago
|
<validation
|
||
|
v-else-if="type === 'validators'"
|
||
3 years ago
|
:nodes="nodes"
|
||
|
/>
|
||
4 years ago
|
|
||
|
<table-acl
|
||
|
v-else-if="type === 'view-acl'"
|
||
3 years ago
|
:nodes="nodes"
|
||
|
/>
|
||
4 years ago
|
<view-columns
|
||
|
v-else-if="type === 'view-columns'"
|
||
3 years ago
|
:nodes="nodes"
|
||
|
/>
|
||
3 years ago
|
<template
|
||
4 years ago
|
v-else-if="type === 'shared-views'"
|
||
3 years ago
|
>
|
||
|
<shared-views-list
|
||
|
v-if="show"
|
||
|
:selected-view="selectedView"
|
||
|
:model-name="table"
|
||
|
:nodes="nodes"
|
||
|
:meta="meta"
|
||
|
/>
|
||
|
</template>
|
||
4 years ago
|
|
||
|
<!-- </v-card-text>-->
|
||
|
<!-- </v-card>-->
|
||
|
</div>
|
||
3 years ago
|
</v-dialog>
|
||
4 years ago
|
</template>
|
||
|
|
||
|
<script>
|
||
3 years ago
|
import TableAcl from '~/components/project/tableTabs/TableAcl'
|
||
|
import Columns from '~/components/project/tableTabs/Columns'
|
||
|
import Indexes from '~/components/project/tableTabs/Indexes'
|
||
|
import Triggers from '~/components/project/tableTabs/Triggers'
|
||
|
import Webhooks from '~/components/project/tableTabs/Webhooks'
|
||
|
import Validation from '~/components/project/tableTabs/Validation'
|
||
|
import ViewColumns from '~/components/project/viewTabs/ViewColumns'
|
||
|
import SharedViewsList from '~/components/project/spreadsheet/components/SharedViewsList'
|
||
4 years ago
|
|
||
|
export default {
|
||
3 years ago
|
name: 'AdditionalFeatures',
|
||
|
components: { SharedViewsList, ViewColumns, Validation, Webhooks, Triggers, Indexes, Columns, TableAcl },
|
||
3 years ago
|
props: ['value', 'nodes', 'type', 'deleteTable', 'table', 'selectedView', 'meta'],
|
||
4 years ago
|
computed: {
|
||
|
show: {
|
||
3 years ago
|
set(v) {
|
||
3 years ago
|
this.$emit('input', v)
|
||
|
},
|
||
3 years ago
|
get() {
|
||
3 years ago
|
return this.value
|
||
4 years ago
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style scoped>
|
||
|
/deep/ .v-overlay__content {
|
||
|
width: 100%;
|
||
|
/*align-self: flex-start;*/
|
||
|
/*position: relative;*/
|
||
|
height: 100%;
|
||
|
display: flex;
|
||
|
}
|
||
|
|
||
|
.close-icon {
|
||
|
position: absolute;
|
||
|
top: 10px;
|
||
|
right: 10px;
|
||
|
z-index: 99999;
|
||
|
}
|
||
|
|
||
|
.feat-container {
|
||
|
position: relative;
|
||
|
align-self: center;
|
||
|
margin:auto !important;
|
||
|
}
|
||
|
</style>
|