Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/tasks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRaimund Schlüßler <raimund.schluessler@mailbox.org>2021-12-06 23:48:01 +0300
committerRaimund Schlüßler <raimund.schluessler@mailbox.org>2021-12-06 23:48:01 +0300
commitaa2d7207c53e5ea16294ad8f5ba5b470ac7ccc11 (patch)
treeade945735a965f2533d4bcf97c69ab5d58faef8d /src
parentb7cc2479fbba32d7a1d2cf51be609e52766046ba (diff)
Remove now unused decorative prop for md icons
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Diffstat (limited to 'src')
-rw-r--r--src/components/AppNavigation/AppNavigationSettings.vue2
-rw-r--r--src/components/AppNavigation/CalendarSharee.vue3
-rw-r--r--src/components/AppNavigation/ListItemCalendar.vue14
-rw-r--r--src/components/AppNavigation/Trashbin.vue6
-rw-r--r--src/components/AppSidebar/DatetimePickerItem.vue4
-rw-r--r--src/components/AppSidebar/MultiselectOption.vue2
-rw-r--r--src/components/AppSidebar/SliderItem.vue4
-rw-r--r--src/components/AppSidebar/TagsItem.vue2
-rw-r--r--src/components/Header.vue2
-rw-r--r--src/components/SortorderDropdown.vue16
-rw-r--r--src/components/TaskBody.vue16
-rw-r--r--src/components/TaskCreateDialog.vue4
-rw-r--r--src/views/AppNavigation.vue5
-rw-r--r--src/views/AppSidebar.vue28
14 files changed, 51 insertions, 57 deletions
diff --git a/src/components/AppNavigation/AppNavigationSettings.vue b/src/components/AppNavigation/AppNavigationSettings.vue
index 139481de..0340d793 100644
--- a/src/components/AppNavigation/AppNavigationSettings.vue
+++ b/src/components/AppNavigation/AppNavigationSettings.vue
@@ -41,7 +41,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
<li v-for="collection in collections"
:key="collection.id"
class="collection">
- <component :is="collection.icon" :size="20" decorative />
+ <component :is="collection.icon" :size="20" />
<span class="label-container">
<label :for="'visibilityCollection-' + collection.id" class="title">
{{ collection.displayName }}
diff --git a/src/components/AppNavigation/CalendarSharee.vue b/src/components/AppNavigation/CalendarSharee.vue
index 54eb47db..fb5e0657 100644
--- a/src/components/AppNavigation/CalendarSharee.vue
+++ b/src/components/AppNavigation/CalendarSharee.vue
@@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<AccountMultiple
v-if="sharee.isGroup"
:size="18"
- decorative
class="avatar" />
<div v-else-if="sharee.isCircle" class="avatar icon-circle" />
<Avatar v-else
@@ -54,7 +53,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
:disabled="loading"
@click.prevent.stop="deleteSharee">
<template #icon>
- <Delete :size="20" decorative />
+ <Delete :size="20" />
</template>
{{ t('tasks', 'Unshare with {displayName}', { displayName: sharee.displayName }) }}
</ActionButton>
diff --git a/src/components/AppNavigation/ListItemCalendar.vue b/src/components/AppNavigation/ListItemCalendar.vue
index afc0de36..8184d6fe 100644
--- a/src/components/AppNavigation/ListItemCalendar.vue
+++ b/src/components/AppNavigation/ListItemCalendar.vue
@@ -43,7 +43,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
<ActionButton
@click="toggleShare">
<template #icon>
- <ShareVariant :size="20" decorative />
+ <ShareVariant :size="20" />
</template>
{{ sharedWithTooltip }}
</ActionButton>
@@ -62,7 +62,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:close-after-click="true"
@click="editCalendar">
<template #icon>
- <Pencil :size="20" decorative />
+ <Pencil :size="20" />
</template>
{{ t('tasks', 'Edit') }}
</ActionButton>
@@ -70,7 +70,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:close-after-click="true"
@click="copyCalDAVUrl($event, calendar)">
<template #icon>
- <LinkVariant :size="20" decorative />
+ <LinkVariant :size="20" />
</template>
{{ !copied
? t('tasks', 'Copy private link')
@@ -82,7 +82,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:close-after-click="true"
:href="exportUrl">
<template #icon>
- <Download :size="20" decorative />
+ <Download :size="20" />
</template>
{{ t('tasks', 'Download') }}
</ActionLink>
@@ -95,10 +95,10 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
}"
@click="scheduleDelete">
<template v-if="!calendar.isSharedWithMe" #icon>
- <Delete :size="20" decorative />
+ <Delete :size="20" />
</template>
<template v-else #icon>
- <Close :size="20" decorative />
+ <Close :size="20" />
</template>
{{ !calendar.isSharedWithMe ? t('tasks', 'Delete') : t('tasks', 'Unshare') }}
</ActionButton>
@@ -108,7 +108,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
<ActionButton
@click.prevent.stop="cancelDelete">
<template #icon>
- <Undo :size="20" decorative />
+ <Undo :size="20" />
</template>
{{ undoDeleteMessage }}
</ActionButton>
diff --git a/src/components/AppNavigation/Trashbin.vue b/src/components/AppNavigation/Trashbin.vue
index 345f320b..5d834540 100644
--- a/src/components/AppNavigation/Trashbin.vue
+++ b/src/components/AppNavigation/Trashbin.vue
@@ -25,7 +25,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:pinned="true"
@click.prevent="onShow">
<template #icon>
- <Delete :size="20" decorative />
+ <Delete :size="20" />
</template>
<template #extra>
<Modal v-if="showModal"
@@ -36,7 +36,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
</EmptyContent>
<EmptyContent v-else-if="!items.length">
<template #icon>
- <Delete :size="20" decorative />
+ <Delete :size="20" />
</template>
{{ t('tasks', 'You do not have any deleted calendars, tasks or events.') }}
</EmptyContent>
@@ -77,7 +77,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
<ActionButton
@click="onDeletePermanently(item)">
<template #icon>
- <Delete :size="20" decorative />
+ <Delete :size="20" />
</template>
{{ t('tasks','Delete permanently') }}
</ActionButton>
diff --git a/src/components/AppSidebar/DatetimePickerItem.vue b/src/components/AppSidebar/DatetimePickerItem.vue
index ca766511..6202f786 100644
--- a/src/components/AppSidebar/DatetimePickerItem.vue
+++ b/src/components/AppSidebar/DatetimePickerItem.vue
@@ -63,14 +63,14 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
<Actions v-show="editing" class="actions__set">
<ActionButton @click="setValue()">
<template #icon>
- <Check :size="20" decorative />
+ <Check :size="20" />
</template>
{{ t('tasks', 'Set date') }}
</ActionButton>
</Actions><Actions v-show="editing" class="actions__clear">
<ActionButton @click="clearValue">
<template #icon>
- <Delete :size="20" decorative />
+ <Delete :size="20" />
</template>
{{ t('tasks', 'Delete date') }}
</ActionButton>
diff --git a/src/components/AppSidebar/MultiselectOption.vue b/src/components/AppSidebar/MultiselectOption.vue
index 1a74cf7c..3c2af2d5 100644
--- a/src/components/AppSidebar/MultiselectOption.vue
+++ b/src/components/AppSidebar/MultiselectOption.vue
@@ -25,7 +25,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
<template>
<div :class="optionClass" class="multiselect-picker-option">
<span class="multiselect-picker-option__icon">
- <component :is="icon" :size="20" decorative />
+ <component :is="icon" :size="20" />
</span>
<span
class="multiselect-picker-option__label">
diff --git a/src/components/AppSidebar/SliderItem.vue b/src/components/AppSidebar/SliderItem.vue
index 384fa6f5..d769aab5 100644
--- a/src/components/AppSidebar/SliderItem.vue
+++ b/src/components/AppSidebar/SliderItem.vue
@@ -52,14 +52,14 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
<Actions v-show="editing" class="actions__set">
<ActionButton @click="setValue()">
<template #icon>
- <Check :size="20" decorative />
+ <Check :size="20" />
</template>
{{ t('tasks', 'Set value') }}
</ActionButton>
</Actions><Actions v-show="editing" class="actions__clear">
<ActionButton @click="clearValue">
<template #icon>
- <Delete :size="20" decorative />
+ <Delete :size="20" />
</template>
{{ t('tasks', 'Delete value') }}
</ActionButton>
diff --git a/src/components/AppSidebar/TagsItem.vue b/src/components/AppSidebar/TagsItem.vue
index 11394657..4556d9a5 100644
--- a/src/components/AppSidebar/TagsItem.vue
+++ b/src/components/AppSidebar/TagsItem.vue
@@ -40,7 +40,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
</template>
<template #clear>
<div v-if="tags.length" class="multiselect__icon">
- <Tag :size="20" decorative />
+ <Tag :size="20" />
</div>
</template>
<template #noOptions>
diff --git a/src/components/Header.vue b/src/components/Header.vue
index 36247f81..347bf610 100644
--- a/src/components/Header.vue
+++ b/src/components/Header.vue
@@ -24,7 +24,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
<div v-if="$route.params.collectionId !== 'completed' && calendar && !calendar.readOnly"
class="header__input">
<form @submit.prevent="addTask">
- <Plus :size="20" decorative />
+ <Plus :size="20" />
<input
v-model="newTaskName"
:placeholder="placeholder"
diff --git a/src/components/SortorderDropdown.vue b/src/components/SortorderDropdown.vue
index 476ac3ab..c08db883 100644
--- a/src/components/SortorderDropdown.vue
+++ b/src/components/SortorderDropdown.vue
@@ -25,17 +25,15 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
container=".header"
menu-align="right">
<template #icon>
- <component :is="sortOrderIcon" :size="20" decorative />
+ <component :is="sortOrderIcon" :size="20" />
<MenuDown
v-if="sortDirection"
class="sort-direction"
- :size="18"
- decorative />
+ :size="18" />
<MenuUp
v-else
class="sort-direction"
- :size="18"
- decorative />
+ :size="18" />
</template>
<ActionButton v-for="order in orders"
:key="order.id"
@@ -49,17 +47,15 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:close-after-click="true"
@click="setSortOrder(order.id)">
<template #icon>
- <component :is="order.icon" :size="20" decorative />
+ <component :is="order.icon" :size="20" />
<MenuDown
v-if="order.id == sortOrder && sortDirection"
class="sort-direction"
- :size="18"
- decorative />
+ :size="18" />
<MenuUp
v-if="order.id == sortOrder && !sortDirection"
class="sort-direction"
- :size="18"
- decorative />
+ :size="18" />
</template>
{{ order.text }}
</ActionButton>
diff --git a/src/components/TaskBody.vue b/src/components/TaskBody.vue
index a5441286..93887ab4 100644
--- a/src/components/TaskBody.vue
+++ b/src/components/TaskBody.vue
@@ -51,7 +51,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:aria-label="t('tasks', 'Task is completed')"
@click="toggleCompleted(task)">
<label :class="[priorityClass, 'reactive no-nav']" :for="'toggleCompleted_' + task.uid">
- <Cancel v-if="task.status === 'CANCELLED' && !task.completed" :size="20" decorative />
+ <Cancel v-if="task.status === 'CANCELLED' && !task.completed" :size="20" />
</label>
</div>
<!-- Info: title, progress & tags -->
@@ -101,7 +101,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
class="reactive no-nav open-input"
@click="openSubtaskInput">
<template #icon>
- <Plus :size="20" decorative />
+ <Plus :size="20" />
</template>
{{ t('tasks', 'Add subtask') }}
</ActionButton>
@@ -109,7 +109,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
class="reactive no-nav"
@click="toggleSubtasksVisibility(task)">
<template #icon>
- <SortVariant :size="20" decorative />
+ <SortVariant :size="20" />
</template>
{{ task.hideSubtasks ? t('tasks', 'Show subtasks') : t('tasks', 'Hide subtasks') }}
</ActionButton>
@@ -117,7 +117,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
class="reactive no-nav"
@click="toggleCompletedSubtasksVisibility(task)">
<template #icon>
- <Eye :size="20" decorative />
+ <Eye :size="20" />
</template>
{{ task.hideCompletedSubtasks ? t('tasks', 'Show closed subtasks') : t('tasks', 'Hide closed subtasks') }}
</ActionButton>
@@ -125,7 +125,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
class="reactive no-nav"
@click="scheduleTaskDeletion(task)">
<template #icon>
- <Delete :size="20" decorative />
+ <Delete :size="20" />
</template>
{{ t('tasks', 'Delete task') }}
</ActionButton>
@@ -135,7 +135,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
class="reactive no-nav"
@click.prevent.stop="clearTaskDeletion(task)">
<template #icon>
- <Undo :size="20" decorative />
+ <Undo :size="20" />
</template>
{{ n('tasks', 'Deleting the task in {countdown} second', 'Deleting the task in {countdown} seconds', task.deleteCountdown, { countdown: task.deleteCountdown }) }}
</ActionButton>
@@ -145,7 +145,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:disabled="readOnly"
@click="toggleStarred(task)">
<template #icon>
- <Star :size="20" decorative />
+ <Star :size="20" />
</template>
{{ t('tasks', 'Toggle starred') }}
</ActionButton>
@@ -157,7 +157,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
v-click-outside="{ handler: closeSubtaskInput, middleware: clickOutsideMiddleware }"
class="task-item task-item--input">
<form name="addTaskForm" @submit.prevent="addTask">
- <Plus :size="20" decorative />
+ <Plus :size="20" />
<input ref="input"
v-model="newTaskName"
:placeholder="subtasksCreationPlaceholder"
diff --git a/src/components/TaskCreateDialog.vue b/src/components/TaskCreateDialog.vue
index b4b4b5f2..9c0533a7 100644
--- a/src/components/TaskCreateDialog.vue
+++ b/src/components/TaskCreateDialog.vue
@@ -38,7 +38,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
@change-calendar="changeCalendar" />
<div class="property property__summary">
- <ViewHeadline :size="20" decorative />
+ <ViewHeadline :size="20" />
<input v-model="pendingTitle"
type="text"
:placeholder="t('tasks', 'Task summary')"
@@ -46,7 +46,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
</div>
<div class="property property__notes">
- <TextBoxOutline :size="20" decorative />
+ <TextBoxOutline :size="20" />
<textarea v-model="pendingDescription"
:disabled="loading" />
<div class="modal-buttons">
diff --git a/src/views/AppNavigation.vue b/src/views/AppNavigation.vue
index 7607ab51..22c2a0e9 100644
--- a/src/views/AppNavigation.vue
+++ b/src/views/AppNavigation.vue
@@ -41,8 +41,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
<template #icon>
<component
:is="collection.icon"
- :size="20"
- decorative />
+ :size="20" />
</template>
<template #counter>
<AppNavigationCounter v-show="collectionCount(collection.id)">
@@ -67,7 +66,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
class="collection reactive"
@click="startCreate($event)">
<template #icon>
- <Plus :size="20" decorative />
+ <Plus :size="20" />
</template>
<div :class="{error: nameError}" class="app-navigation-entry-edit">
<form>
diff --git a/src/views/AppSidebar.vue b/src/views/AppSidebar.vue
index 5dde3549..22a70b21 100644
--- a/src/views/AppSidebar.vue
+++ b/src/views/AppSidebar.vue
@@ -46,7 +46,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
@editing="(editing) => editingStart = editing"
@set-value="setStartDate">
<template #icon>
- <CalendarStart :size="20" decorative />
+ <CalendarStart :size="20" />
</template>
</DatetimePickerItem>
<DatetimePickerItem
@@ -60,7 +60,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
@editing="(editing) => editingDue = editing"
@set-value="setDueDate">
<template #icon>
- <CalendarEnd :size="20" decorative />
+ <CalendarEnd :size="20" />
</template>
</DatetimePickerItem>
<CheckboxItem
@@ -81,10 +81,10 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
<ActionButton v-if="!readOnly"
@click="togglePinned(task)">
<template v-if="task.pinned" #icon>
- <PinOff :size="20" decorative />
+ <PinOff :size="20" />
</template>
<template v-else #icon>
- <Pin :size="20" decorative />
+ <Pin :size="20" />
</template>
{{ task.pinned ? t('tasks', 'Unpin') : t('tasks', 'Pin') }}
</ActionButton>
@@ -93,7 +93,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:close-after-click="true"
target="_blank">
<template #icon>
- <Calendar :size="20" decorative />
+ <Calendar :size="20" />
</template>
{{ t('tasks', 'Show in Calendar') }}
</ActionLink>
@@ -101,7 +101,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:close-after-click="true"
@click="editTitle(true)">
<template #icon>
- <Pencil :size="20" decorative />
+ <Pencil :size="20" />
</template>
{{ t('tasks', 'Edit title') }}
</ActionButton>
@@ -109,14 +109,14 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:href="downloadURL"
:close-after-click="true">
<template #icon>
- <Download :size="20" decorative />
+ <Download :size="20" />
</template>
{{ t('tasks', 'Download') }}
</ActionLink>
<ActionButton v-if="!readOnly"
@click="scheduleTaskDeletion(task)">
<template #icon>
- <Delete :size="20" decorative />
+ <Delete :size="20" />
</template>
{{ t('tasks', 'Delete') }}
</ActionButton>
@@ -126,7 +126,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
class="reactive no-nav"
@click.prevent.stop="clearTaskDeletion(task)">
<template #icon>
- <Undo :size="20" decorative />
+ <Undo :size="20" />
</template>
{{ n('tasks', 'Deleting the task in {countdown} second', 'Deleting the task in {countdown} seconds', task.deleteCountdown, { countdown: task.deleteCountdown }) }}
</ActionButton>
@@ -144,7 +144,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:aria-label="t('tasks', 'Task is completed')"
@click="toggleCompleted(task)">
<label :class="[priorityClass]" :for="'detailsToggleCompleted_' + task.uid">
- <Cancel v-if="task.status === 'CANCELLED' && !task.completed" :size="20" decorative />
+ <Cancel v-if="task.status === 'CANCELLED' && !task.completed" :size="20" />
</label>
</span>
</template>
@@ -155,7 +155,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:name="t('tasks', 'Details')"
:order="0">
<template #icon>
- <InformationOutline :size="20" decorative />
+ <InformationOutline :size="20" />
</template>
<div>
<MultiselectItem
@@ -185,7 +185,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:task="task"
@set-value="({task, value}) => setPriority({ task, priority: value })">
<template #icon>
- <Star :size="20" decorative />
+ <Star :size="20" />
</template>
</SliderItem>
<SliderItem
@@ -199,7 +199,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:task="task"
@set-value="({task, value}) => setPercentComplete({ task, complete: value })">
<template #icon>
- <Percent :size="20" decorative />
+ <Percent :size="20" />
</template>
</SliderItem>
<TagsItem
@@ -223,7 +223,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:name="t('tasks', 'Notes')"
:order="1">
<template #icon>
- <TextBoxOutline :size="20" decorative />
+ <TextBoxOutline :size="20" />
</template>
<NotesItem
v-show="!readOnly || task.note"