diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2022-11-05 07:40:20 +0000 |
---|---|---|
committer | julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> | 2022-11-08 18:35:11 +0100 |
commit | 85ffd7158bc76c6a1b32273393af0e2cb0a9ca48 (patch) | |
tree | 8a40037bc9e409b1e89f46c66526b6d6998d7fe5 /src/components/AppNavigation/Settings | |
parent | ec0dd03c67dc53e359afafab3372b7a6780e1931 (diff) |
Bump @nextcloud/eslint-config from 6.1.2 to 8.1.2
Fix all file extension related to new rules from eslint-config-8.1.2
Bumps [@nextcloud/eslint-config](https://github.com/nextcloud/eslint-config) from 6.1.2 to 8.1.2.
- [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.1.2)
---
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>
Diffstat (limited to 'src/components/AppNavigation/Settings')
6 files changed, 40 insertions, 48 deletions
diff --git a/src/components/AppNavigation/Settings/SettingsAddressbook.vue b/src/components/AppNavigation/Settings/SettingsAddressbook.vue index b3d50408..cd976f96 100644 --- a/src/components/AppNavigation/Settings/SettingsAddressbook.vue +++ b/src/components/AppNavigation/Settings/SettingsAddressbook.vue @@ -45,16 +45,14 @@ <!-- popovermenu --> <Actions class="addressbook__menu" menu-align="right"> <!-- copy addressbook link --> - <ActionLink - :href="addressbook.url" + <ActionLink :href="addressbook.url" :icon="copyLinkIcon" @click.stop.prevent="copyToClipboard(addressbookUrl)"> {{ copyButtonText }} </ActionLink> <!-- download addressbook --> - <ActionLink - :href="addressbook.url + '?export'"> + <ActionLink :href="addressbook.url + '?export'"> <template #icon> <IconDownload :size="20" /> </template> @@ -113,22 +111,22 @@ </template> <script> -import Actions from '@nextcloud/vue/dist/Components/NcActions' -import ActionLink from '@nextcloud/vue/dist/Components/NcActionLink' -import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton' -import ActionInput from '@nextcloud/vue/dist/Components/NcActionInput' -import ActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox' -import IconLoading from '@nextcloud/vue/dist/Components/NcLoadingIcon' -import Button from '@nextcloud/vue/dist/Components/NcButton' -import IconDownload from 'vue-material-design-icons/Download' -import IconRename from 'vue-material-design-icons/Pencil' -import IconDelete from 'vue-material-design-icons/Delete' -import IconContact from 'vue-material-design-icons/AccountMultiple' -import IconShare from 'vue-material-design-icons/ShareVariant' -import ShareAddressBook from './SettingsAddressbookShare' +import Actions from '@nextcloud/vue/dist/Components/NcActions.js' +import ActionLink from '@nextcloud/vue/dist/Components/NcActionLink.js' +import ActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js' +import ActionInput from '@nextcloud/vue/dist/Components/NcActionInput.js' +import ActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox.js' +import IconLoading from '@nextcloud/vue/dist/Components/NcLoadingIcon.js' +import Button from '@nextcloud/vue/dist/Components/NcButton.js' +import IconDownload from 'vue-material-design-icons/Download.vue' +import IconRename from 'vue-material-design-icons/Pencil.vue' +import IconDelete from 'vue-material-design-icons/Delete.vue' +import IconContact from 'vue-material-design-icons/AccountMultiple.vue' +import IconShare from 'vue-material-design-icons/ShareVariant.vue' +import ShareAddressBook from './SettingsAddressbookShare.vue' import { showError } from '@nextcloud/dialogs' -import CopyToClipboardMixin from '../../../mixins/CopyToClipboardMixin' +import CopyToClipboardMixin from '../../../mixins/CopyToClipboardMixin.js' export default { name: 'SettingsAddressbook', diff --git a/src/components/AppNavigation/Settings/SettingsAddressbookShare.vue b/src/components/AppNavigation/Settings/SettingsAddressbookShare.vue index c1583e35..f54d50fb 100644 --- a/src/components/AppNavigation/Settings/SettingsAddressbookShare.vue +++ b/src/components/AppNavigation/Settings/SettingsAddressbookShare.vue @@ -22,8 +22,7 @@ <template> <div class="addressbook-shares"> - <Multiselect - id="users-groups-search" + <Multiselect id="users-groups-search" :options="usersOrGroups" :searchable="true" :internal-search="false" @@ -48,10 +47,10 @@ </template> <script> -import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect' -import client from '../../../services/cdav' +import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js' +import client from '../../../services/cdav.js' -import addressBookSharee from './SettingsAddressbookSharee' +import addressBookSharee from './SettingsAddressbookSharee.vue' import debounce from 'debounce' import { urldecode } from '../../../utils/url.js' diff --git a/src/components/AppNavigation/Settings/SettingsAddressbookSharee.vue b/src/components/AppNavigation/Settings/SettingsAddressbookSharee.vue index 75a8c043..91cb9a6d 100644 --- a/src/components/AppNavigation/Settings/SettingsAddressbookSharee.vue +++ b/src/components/AppNavigation/Settings/SettingsAddressbookSharee.vue @@ -30,8 +30,7 @@ {{ sharee.displayName }} </span> <span class="addressbook-sharee__utils"> - <input - :id="uid" + <input :id="uid" :checked="writeable" :disabled="loading" class="checkbox" @@ -56,11 +55,11 @@ <script> import { showError } from '@nextcloud/dialogs' -import IconDelete from 'vue-material-design-icons/Delete' -import IconGroup from 'vue-material-design-icons/AccountMultiple' -import IconUser from 'vue-material-design-icons/Account' -import Button from '@nextcloud/vue/dist/Components/NcButton' -import IconLoading from '@nextcloud/vue/dist/Components/NcLoadingIcon' +import IconDelete from 'vue-material-design-icons/Delete.vue' +import IconGroup from 'vue-material-design-icons/AccountMultiple.vue' +import IconUser from 'vue-material-design-icons/Account.vue' +import Button from '@nextcloud/vue/dist/Components/NcButton.js' +import IconLoading from '@nextcloud/vue/dist/Components/NcLoadingIcon.js' export default { name: 'SettingsAddressbookSharee', diff --git a/src/components/AppNavigation/Settings/SettingsImportContacts.vue b/src/components/AppNavigation/Settings/SettingsImportContacts.vue index 2eac8403..31834f75 100644 --- a/src/components/AppNavigation/Settings/SettingsImportContacts.vue +++ b/src/components/AppNavigation/Settings/SettingsImportContacts.vue @@ -36,8 +36,7 @@ @close="toggleModal"> <section class="import-contact__modal-addressbook"> <h3>{{ t('contacts', 'Import contacts') }}</h3> - <Multiselect - v-if="!isSingleAddressbook" + <Multiselect v-if="!isSingleAddressbook" id="select-addressbook" v-model="selectedAddressbook" :allow-empty="false" @@ -58,8 +57,7 @@ type="file" class="hidden-visually" @change="processFile"> - <Button - :disabled="loading" + <Button :disabled="loading" class="import-contact__button import-contact__button--local" @click="clickImportInput"> <template #icon> @@ -67,8 +65,7 @@ </template> {{ t('contacts', 'Select local file') }} </Button> - <Button - type="primary" + <Button type="primary" :disabled="loading" class="import-contact__button import-contact__button--files" @click="openPicker"> @@ -95,18 +92,18 @@ </template> <script> -import Button from '@nextcloud/vue/dist/Components/NcButton' -import Modal from '@nextcloud/vue/dist/Components/NcModal' -import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect' -import IconLoading from '@nextcloud/vue/dist/Components/NcLoadingIcon' +import Button from '@nextcloud/vue/dist/Components/NcButton.js' +import Modal from '@nextcloud/vue/dist/Components/NcModal.js' +import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js' +import IconLoading from '@nextcloud/vue/dist/Components/NcLoadingIcon.js' import { encodePath } from '@nextcloud/paths' import { getCurrentUser } from '@nextcloud/auth' import { generateRemoteUrl } from '@nextcloud/router' import { getFilePickerBuilder } from '@nextcloud/dialogs' import axios from '@nextcloud/axios' -import IconUpload from 'vue-material-design-icons/Upload' -import IconError from 'vue-material-design-icons/AlertCircle' -import IconFolder from 'vue-material-design-icons/Folder' +import IconUpload from 'vue-material-design-icons/Upload.vue' +import IconError from 'vue-material-design-icons/AlertCircle.vue' +import IconFolder from 'vue-material-design-icons/Folder.vue' const CancelToken = axios.CancelToken diff --git a/src/components/AppNavigation/Settings/SettingsNewAddressbook.vue b/src/components/AppNavigation/Settings/SettingsNewAddressbook.vue index 52de5e4e..2ecec899 100644 --- a/src/components/AppNavigation/Settings/SettingsNewAddressbook.vue +++ b/src/components/AppNavigation/Settings/SettingsNewAddressbook.vue @@ -49,7 +49,7 @@ <script> import { showError } from '@nextcloud/dialogs' -import IconAdd from 'vue-material-design-icons/Plus' +import IconAdd from 'vue-material-design-icons/Plus.vue' export default { name: 'SettingsNewAddressbook', diff --git a/src/components/AppNavigation/Settings/SettingsSortContacts.vue b/src/components/AppNavigation/Settings/SettingsSortContacts.vue index 839bd770..9f40df50 100644 --- a/src/components/AppNavigation/Settings/SettingsSortContacts.vue +++ b/src/components/AppNavigation/Settings/SettingsSortContacts.vue @@ -23,8 +23,7 @@ <template> <div class="sort-contacts"> <IconList class="settings-line__icon" /> - <Multiselect - id="sort-by" + <Multiselect id="sort-by" :value="orderKeyOption" :searchable="false" :allow-empty="false" @@ -37,8 +36,8 @@ </template> <script> -import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect' -import IconList from 'vue-material-design-icons/FormatListBulletedSquare' +import Multiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js' +import IconList from 'vue-material-design-icons/FormatListBulletedSquare.vue' export default { name: 'SettingsSortContacts', |