Bump to @nextcloud/vue@6.0.0-beta.3
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -21,18 +21,25 @@
|
||||
-->
|
||||
|
||||
<template>
|
||||
<AppNavigationVue :class="{'icon-loading': loading}">
|
||||
<NcAppNavigation :class="{'icon-loading': loading}">
|
||||
<template #list>
|
||||
<AppNavigationItem :title="t('deck', 'Upcoming cards')"
|
||||
icon="icon-calendar-dark"
|
||||
<NcAppNavigationItem :title="t('deck', 'Upcoming cards')"
|
||||
:exact="true"
|
||||
to="/" />
|
||||
to="/">
|
||||
<template #icon>
|
||||
<CalendarIcon :size="20" />
|
||||
</template>
|
||||
</NcAppNavigationItem>
|
||||
<AppNavigationBoardCategory id="deck-navigation-all"
|
||||
to="/board"
|
||||
:text="t('deck', 'All boards')"
|
||||
:boards="noneArchivedBoards"
|
||||
:open-on-add-boards="true"
|
||||
icon="icon-deck" />
|
||||
icon="icon-deck">
|
||||
<template #icon>
|
||||
<DeckIcon :size="16" />
|
||||
</template>
|
||||
</AppNavigationBoardCategory>
|
||||
<AppNavigationBoardCategory id="deck-navigation-archived"
|
||||
to="/board/archived"
|
||||
:text="t('deck', 'Archived boards')"
|
||||
@@ -45,11 +52,15 @@
|
||||
to="/board/shared"
|
||||
:text="t('deck', 'Shared with you')"
|
||||
:boards="sharedBoards"
|
||||
icon="icon-shared" />
|
||||
icon="icon-shared">
|
||||
<template #icon>
|
||||
<ShareVariantIcon :size="20" decorative />
|
||||
</template>
|
||||
</AppNavigationBoardCategory>
|
||||
<AppNavigationAddBoard v-if="canCreate" />
|
||||
</template>
|
||||
<template #footer>
|
||||
<AppNavigationSettings :title="t('deck', 'Deck settings')">
|
||||
<NcAppNavigationSettings :title="t('deck', 'Deck settings')">
|
||||
<div>
|
||||
<div>
|
||||
<input id="toggle-modal"
|
||||
@@ -71,7 +82,7 @@
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<Multiselect v-if="isAdmin"
|
||||
<NcMultiselect v-if="isAdmin"
|
||||
v-model="groupLimit"
|
||||
:class="{'icon-loading-small': groupLimitDisabled}"
|
||||
open-direction="bottom"
|
||||
@@ -86,35 +97,41 @@
|
||||
{{ t('deck', 'Limiting Deck will block users not part of those groups from creating their own boards. Users will still be able to work on boards that have been shared with them.') }}
|
||||
</p>
|
||||
</div>
|
||||
</AppNavigationSettings>
|
||||
</NcAppNavigationSettings>
|
||||
</template>
|
||||
</AppNavigationVue>
|
||||
</NcAppNavigation>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import axios from '@nextcloud/axios'
|
||||
import { mapGetters } from 'vuex'
|
||||
import ClickOutside from 'vue-click-outside'
|
||||
import { AppNavigation as AppNavigationVue, AppNavigationItem, AppNavigationSettings, Multiselect } from '@nextcloud/vue'
|
||||
import { NcAppNavigation, NcAppNavigationItem, NcAppNavigationSettings, NcMultiselect } from '@nextcloud/vue'
|
||||
import AppNavigationAddBoard from './AppNavigationAddBoard'
|
||||
import AppNavigationBoardCategory from './AppNavigationBoardCategory'
|
||||
import { loadState } from '@nextcloud/initial-state'
|
||||
import { generateOcsUrl } from '@nextcloud/router'
|
||||
import { getCurrentUser } from '@nextcloud/auth'
|
||||
import ArchiveIcon from 'vue-material-design-icons/Archive'
|
||||
import ArchiveIcon from 'vue-material-design-icons/Archive.vue'
|
||||
import CalendarIcon from 'vue-material-design-icons/Calendar.vue'
|
||||
import DeckIcon from './../icons/DeckIcon.vue'
|
||||
import ShareVariantIcon from 'vue-material-design-icons/Share.vue'
|
||||
|
||||
const canCreateState = loadState('deck', 'canCreate')
|
||||
|
||||
export default {
|
||||
name: 'AppNavigation',
|
||||
components: {
|
||||
AppNavigationVue,
|
||||
AppNavigationSettings,
|
||||
NcAppNavigation,
|
||||
NcAppNavigationSettings,
|
||||
AppNavigationAddBoard,
|
||||
AppNavigationBoardCategory,
|
||||
Multiselect,
|
||||
AppNavigationItem,
|
||||
NcMultiselect,
|
||||
NcAppNavigationItem,
|
||||
ArchiveIcon,
|
||||
CalendarIcon,
|
||||
DeckIcon,
|
||||
ShareVariantIcon,
|
||||
},
|
||||
directives: {
|
||||
ClickOutside,
|
||||
|
||||
Reference in New Issue
Block a user