build(deps-dev): Bump @nextcloud/eslint-config from 6.1.2 to 8.0.0

Bumps [@nextcloud/eslint-config](https://github.com/nextcloud/eslint-config) from 6.1.2 to 8.0.0.
- [Release notes](https://github.com/nextcloud/eslint-config/releases)
- [Changelog](https://github.com/nextcloud/eslint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/eslint-config/compare/v6.1.2...v8.0.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/eslint-config"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2022-04-23 01:02:35 +00:00
committed by Julius Härtl
parent 8b69c90bf1
commit 4e8219c6fa
16 changed files with 1240 additions and 1043 deletions

2175
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -72,7 +72,7 @@
"devDependencies": {
"@nextcloud/babel-config": "^1.0.0",
"@nextcloud/browserslist-config": "^2.2.0",
"@nextcloud/eslint-config": "^6.1.2",
"@nextcloud/eslint-config": "^8.0.0",
"@nextcloud/stylelint-config": "^2.1.2",
"@nextcloud/webpack-vue-config": "^5.0.0",
"@relative-ci/agent": "^3.1.2",

View File

@@ -27,8 +27,7 @@
<router-view />
</AppContent>
<Modal
v-if="cardDetailsInModal && $route.params.cardId"
<Modal v-if="cardDetailsInModal && $route.params.cardId"
:clear-view-delay="0"
:title="t('deck', 'Card details')"
@close="hideModal()">

View File

@@ -27,17 +27,14 @@
@drop.prevent="handleDropFiles">
<slot />
<transition name="fade" mode="out-in">
<div
v-show="isDraggingOver"
<div v-show="isDraggingOver"
class="dragover">
<div class="drop-hint">
<div
class="drop-hint__icon"
<div class="drop-hint__icon"
:class="{
'icon-upload' : !isReadOnly,
'icon-error' : isReadOnly}" />
<h2
class="drop-hint__text">
<h2 class="drop-hint__text">
{{ dropHintText }}
</h2>
</div>

View File

@@ -79,8 +79,7 @@
<div v-if="filterVisible" class="filter">
<h3>{{ t('deck', 'Filter by tag') }}</h3>
<div v-for="label in labelsSorted" :key="label.id" class="filter--item">
<input
:id="label.id"
<input :id="label.id"
v-model="filter.tags"
type="checkbox"
class="checkbox"
@@ -91,8 +90,7 @@
<h3>{{ t('deck', 'Filter by assigned user') }}</h3>
<div class="filter--item">
<input
id="unassigned"
<input id="unassigned"
v-model="filter.unassigned"
type="checkbox"
class="checkbox"
@@ -102,8 +100,7 @@
<label for="unassigned">{{ t('deck', 'Unassigned') }}</label>
</div>
<div v-for="user in board.users" :key="user.uid" class="filter--item">
<input
:id="user.uid"
<input :id="user.uid"
v-model="filter.users"
type="checkbox"
class="checkbox"
@@ -115,8 +112,7 @@
<h3>{{ t('deck', 'Filter by due date') }}</h3>
<div class="filter--item">
<input
id="overdue"
<input id="overdue"
v-model="filter.due"
type="radio"
class="radio"
@@ -127,8 +123,7 @@
</div>
<div class="filter--item">
<input
id="dueToday"
<input id="dueToday"
v-model="filter.due"
type="radio"
class="radio"
@@ -139,8 +134,7 @@
</div>
<div class="filter--item">
<input
id="dueWeek"
<input id="dueWeek"
v-model="filter.due"
type="radio"
class="radio"
@@ -151,8 +145,7 @@
</div>
<div class="filter--item">
<input
id="dueMonth"
<input id="dueMonth"
v-model="filter.due"
type="radio"
class="radio"
@@ -163,8 +156,7 @@
</div>
<div class="filter--item">
<input
id="noDue"
<input id="noDue"
v-model="filter.due"
type="radio"
class="radio"
@@ -181,8 +173,7 @@
</Popover>
<Actions>
<ActionButton
icon="icon-archive"
<ActionButton icon="icon-archive"
@click="toggleShowArchived">
{{ showArchived ? t('deck', 'Hide archived cards') : t('deck', 'Show archived cards') }}
</ActionButton>
@@ -267,9 +258,6 @@ export default {
return [...this.board.labels].sort((a, b) => (a.title < b.title) ? -1 : 1)
},
},
beforeDestroy() {
this.setPageTitle('')
},
watch: {
board(current, previous) {
if (current?.id !== previous?.id) {
@@ -280,6 +268,9 @@ export default {
}
},
},
beforeDestroy() {
this.setPageTitle('')
},
methods: {
beforeSetFilter(e) {
if (this.filter.due === e.target.value) {

View File

@@ -8,8 +8,7 @@
<span>{{ deletedStack.title }}</span>
<span class="timestamp">{{ relativeDate(deletedStack.deletedAt*1000) }}</span>
</div>
<button
:title="t('settings', 'Undo')"
<button :title="t('settings', 'Undo')"
class="app-navigation-entry-deleted-button icon-history"
@click="stackUndoDelete(deletedStack)" />
</li>
@@ -23,8 +22,7 @@
<span>{{ deletedCard.title }}</span>
<span class="timestamp">{{ relativeDate(deletedCard.deletedAt*1000) }}</span>
</div>
<button
:title="t('settings', 'Undo')"
<button :title="t('settings', 'Undo')"
class="app-navigation-entry-deleted-button icon-history"
@click="cardUndoDelete(deletedCard)" />
</li>

View File

@@ -1,7 +1,6 @@
<template>
<div>
<Multiselect
v-if="canShare"
<Multiselect v-if="canShare"
v-model="addAcl"
:placeholder="t('deck', 'Share board with a user, group or circle …')"
:options="formatedSharees"
@@ -21,8 +20,7 @@
</template>
</Multiselect>
<ul
id="shareWithList"
<ul id="shareWithList"
class="shareWithList">
<li>
<Avatar :user="board.owner.uid" />
@@ -214,7 +212,7 @@ export default {
this.isLoading = true
await this.$store.dispatch('transferOwnership', {
boardId: this.board.id,
newOwner
newOwner,
})
const successMessage = t('deck', 'Transfer the board for {user} successfully', { user: newOwner })
showSuccess(successMessage)

View File

@@ -62,8 +62,7 @@
<CardSidebarTabAttachments :card="currentCard" />
</AppSidebarTab>
<AppSidebarTab
id="comments"
<AppSidebarTab id="comments"
:order="2"
:name="t('deck', 'Comments')"
icon="icon-comment">

View File

@@ -21,8 +21,7 @@
-->
<template>
<AttachmentList
:card-id="card.id"
<AttachmentList :card-id="card.id"
:removable="true"
@delete-attachment="deleteAttachment"
@restore-attachment="restoreAttachment" />

View File

@@ -51,8 +51,7 @@
</div>
<CommentItem v-if="comment.replyTo" :reply="true" :comment="comment.replyTo" />
<div v-show="!edit" ref="richTextElement">
<RichText
class="comment--content"
<RichText class="comment--content"
:text="richText(comment)"
:arguments="richArgs(comment)"
:autolink="true" />

View File

@@ -63,8 +63,7 @@
<Modal v-if="modalShow" :title="t('deck', 'Choose attachment')" @close="modalShow=false">
<div class="modal__content">
<h3>{{ t('deck', 'Choose attachment') }}</h3>
<AttachmentList
:card-id="card.id"
<AttachmentList :card-id="card.id"
:selectable="true"
@select-attachment="addAttachment" />
</div>

View File

@@ -56,8 +56,7 @@
<div class="avatar-print-list">
<div v-for="user in avatarUsers" :key="user.id" class="avatar-print-list-item">
<Avatar
class="avatar-print-list-avatar"
<Avatar class="avatar-print-list-avatar"
:user="user.participant.uid"
:display-name="user.participant.displayname"
:disable-menu="true"

View File

@@ -139,7 +139,7 @@ export default {
boardId() {
return this.card?.boardId ? this.card.boardId : this.$route.params.id
}
},
},
methods: {
openCard() {

View File

@@ -23,26 +23,22 @@
<template>
<AppNavigationVue :class="{'icon-loading': loading}">
<template #list>
<AppNavigationItem
:title="t('deck', 'Upcoming cards')"
<AppNavigationItem :title="t('deck', 'Upcoming cards')"
icon="icon-calendar-dark"
:exact="true"
to="/" />
<AppNavigationBoardCategory
id="deck-navigation-all"
<AppNavigationBoardCategory id="deck-navigation-all"
to="/board"
:text="t('deck', 'All boards')"
:boards="noneArchivedBoards"
:open-on-add-boards="true"
icon="icon-deck" />
<AppNavigationBoardCategory
id="deck-navigation-archived"
<AppNavigationBoardCategory id="deck-navigation-archived"
to="/board/archived"
:text="t('deck', 'Archived boards')"
:boards="archivedBoards"
icon="icon-archive" />
<AppNavigationBoardCategory
id="deck-navigation-shared"
<AppNavigationBoardCategory id="deck-navigation-shared"
to="/board/shared"
:text="t('deck', 'Shared with you')"
:boards="sharedBoards"

View File

@@ -35,8 +35,7 @@
<template v-if="!deleted" slot="actions">
<template v-if="!isDueSubmenuActive">
<ActionButton
icon="icon-info"
<ActionButton icon="icon-info"
:close-after-click="true"
@click="actionDetails">
{{ t('deck', 'Board details') }}
@@ -73,31 +72,27 @@
<!-- Due date reminder settings -->
<template v-if="isDueSubmenuActive">
<ActionButton
:icon="updateDueSetting ? 'icon-loading-small' : 'icon-view-previous'"
<ActionButton :icon="updateDueSetting ? 'icon-loading-small' : 'icon-view-previous'"
:disabled="updateDueSetting"
@click="isDueSubmenuActive=false">
{{ t('deck', 'Due date reminders') }}
</ActionButton>
<ActionButton
name="notification"
<ActionButton name="notification"
icon="icon-sound"
:disabled="updateDueSetting"
:class="{ 'forced-active': board.settings['notify-due'] === 'all' }"
@click="updateSetting('notify-due', 'all')">
{{ t('deck', 'All cards') }}
</ActionButton>
<ActionButton
name="notification"
<ActionButton name="notification"
icon="icon-user"
:disabled="updateDueSetting"
:class="{ 'forced-active': board.settings['notify-due'] === 'assigned' }"
@click="updateSetting('notify-due', 'assigned')">
{{ t('deck', 'Assigned cards') }}
</ActionButton>
<ActionButton
name="notification"
<ActionButton name="notification"
icon="icon-sound-off"
:disabled="updateDueSetting"
:class="{ 'forced-active': board.settings['notify-due'] === 'off' }"

View File

@@ -18,8 +18,7 @@
</linearGradient>
</defs>
</svg>
<svg
class="card-placeholder__placeholder"
<svg class="card-placeholder__placeholder"
:class="{ 'standalone': standalone }"
xmlns="http://www.w3.org/2000/svg"
fill="url(#card-placeholder__gradient)">