|
|
@ -69,11 +69,11 @@ |
|
|
|
|
|
|
|
|
|
|
|
<div class="d-inline-flex"> |
|
|
|
<div class="d-inline-flex"> |
|
|
|
|
|
|
|
|
|
|
|
<fields-menu v-model="showFields" :field-list="fieldList" /> |
|
|
|
<fields-menu v-model="showFields" :field-list="fieldList" :is-locked="isLocked" /> |
|
|
|
|
|
|
|
|
|
|
|
<sort-list-menu v-model="sortList" :field-list="fieldList" /> |
|
|
|
<sort-list-menu v-model="sortList" :field-list="fieldList" :is-locked="isLocked" /> |
|
|
|
|
|
|
|
|
|
|
|
<column-filter-menu v-model="filters" :field-list="fieldList" /> |
|
|
|
<column-filter-menu v-model="filters" :field-list="fieldList" :is-locked="isLocked" /> |
|
|
|
|
|
|
|
|
|
|
|
<share-view-menu @share="$refs.drawer && $refs.drawer.genShareLink()" /> |
|
|
|
<share-view-menu @share="$refs.drawer && $refs.drawer.genShareLink()" /> |
|
|
|
|
|
|
|
|
|
|
@ -97,6 +97,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<debug-metas v-if="debug" class="mr-3" /> |
|
|
|
<debug-metas v-if="debug" class="mr-3" /> |
|
|
|
|
|
|
|
<lock-menu v-if="_isUIAllowed('view-type')" v-model="viewStatus.type" /> |
|
|
|
<v-icon small class="mx-n1" color="grey lighten-1"> |
|
|
|
<v-icon small class="mx-n1" color="grey lighten-1"> |
|
|
|
mdi-circle-small |
|
|
|
mdi-circle-small |
|
|
|
</v-icon> |
|
|
|
</v-icon> |
|
|
@ -214,6 +215,7 @@ |
|
|
|
:filters.sync="filters" |
|
|
|
:filters.sync="filters" |
|
|
|
:sort-list.sync="sortList" |
|
|
|
:sort-list.sync="sortList" |
|
|
|
:show-fields.sync="showFields" |
|
|
|
:show-fields.sync="showFields" |
|
|
|
|
|
|
|
:view-status.sync="viewStatus" |
|
|
|
> |
|
|
|
> |
|
|
|
<!-- <v-list-item |
|
|
|
<!-- <v-list-item |
|
|
|
@click="showAdditionalFeatOverlay('view-columns')" |
|
|
|
@click="showAdditionalFeatOverlay('view-columns')" |
|
|
@ -245,7 +247,6 @@ |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
|
|
|
|
|
|
|
|
import debounce from 'debounce' |
|
|
|
import debounce from 'debounce' |
|
|
|
import ApiFactory from '@/components/project/spreadsheet/apis/apiFactory' |
|
|
|
|
|
|
|
import { SqlUI } from '@/helpers/sqlUi/SqlUiFactory' |
|
|
|
import { SqlUI } from '@/helpers/sqlUi/SqlUiFactory' |
|
|
|
import FieldsMenu from '@/components/project/spreadsheet/components/fieldsMenu' |
|
|
|
import FieldsMenu from '@/components/project/spreadsheet/components/fieldsMenu' |
|
|
|
import SortListMenu from '@/components/project/spreadsheet/components/sortListMenu' |
|
|
|
import SortListMenu from '@/components/project/spreadsheet/components/sortListMenu' |
|
|
@ -257,8 +258,9 @@ import KanbanView from '@/components/project/spreadsheet/views/kanbanView' |
|
|
|
import CalendarView from '@/components/project/spreadsheet/views/calendarView' |
|
|
|
import CalendarView from '@/components/project/spreadsheet/views/calendarView' |
|
|
|
import AdditionalFeatures from '@/components/project/spreadsheet/overlay/additinalFeatures' |
|
|
|
import AdditionalFeatures from '@/components/project/spreadsheet/overlay/additinalFeatures' |
|
|
|
import spreadsheet from '@/components/project/spreadsheet/mixins/spreadsheet' |
|
|
|
import spreadsheet from '@/components/project/spreadsheet/mixins/spreadsheet' |
|
|
|
import MoreActions from '~/components/project/spreadsheet/components/moreActions' |
|
|
|
import MoreActions from '@/components/project/spreadsheet/components/moreActions' |
|
|
|
import ShareViewMenu from '~/components/project/spreadsheet/components/shareViewMenu' |
|
|
|
import ShareViewMenu from '@/components/project/spreadsheet/components/shareViewMenu' |
|
|
|
|
|
|
|
import LockMenu from '@/components/project/spreadsheet/components/lockMenu' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
@ -275,6 +277,7 @@ export default { |
|
|
|
FieldsMenu, |
|
|
|
FieldsMenu, |
|
|
|
ShareViewMenu, |
|
|
|
ShareViewMenu, |
|
|
|
MoreActions, |
|
|
|
MoreActions, |
|
|
|
|
|
|
|
LockMenu, |
|
|
|
}, |
|
|
|
}, |
|
|
|
mixins: [spreadsheet], |
|
|
|
mixins: [spreadsheet], |
|
|
|
props: { |
|
|
|
props: { |
|
|
@ -351,7 +354,10 @@ export default { |
|
|
|
icon: 'mdi-card' |
|
|
|
icon: 'mdi-card' |
|
|
|
}], |
|
|
|
}], |
|
|
|
rowContextMenu: null, |
|
|
|
rowContextMenu: null, |
|
|
|
modelName: null |
|
|
|
modelName: null, |
|
|
|
|
|
|
|
viewStatus: { |
|
|
|
|
|
|
|
type: null |
|
|
|
|
|
|
|
}, |
|
|
|
}), |
|
|
|
}), |
|
|
|
computed: { |
|
|
|
computed: { |
|
|
|
meta() { |
|
|
|
meta() { |
|
|
|