diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/comments/src/components/Comment.vue | 8 | ||||
-rw-r--r-- | apps/dashboard/src/DashboardApp.vue | 8 | ||||
-rw-r--r-- | apps/dav/src/views/Availability.vue | 8 | ||||
-rw-r--r-- | apps/federatedfilesharing/src/components/PersonalSettings.vue | 24 | ||||
-rw-r--r-- | apps/files/src/components/TransferOwnershipDialogue.vue | 12 | ||||
-rw-r--r-- | apps/oauth2/src/App.vue | 8 | ||||
-rw-r--r-- | apps/oauth2/src/components/OAuthItem.vue | 8 | ||||
-rw-r--r-- | apps/settings/src/components/AdminTwoFactor.vue | 8 | ||||
-rw-r--r-- | apps/settings/src/components/AppList.vue | 8 | ||||
-rw-r--r-- | apps/settings/src/components/AuthTokenSetupDialogue.vue | 12 | ||||
-rw-r--r-- | apps/settings/src/components/Encryption.vue | 8 | ||||
-rw-r--r-- | apps/settings/src/components/PersonalInfo/shared/HeaderBar.vue | 8 | ||||
-rw-r--r-- | apps/settings/src/components/UserList.vue | 8 | ||||
-rw-r--r-- | apps/user_status/src/components/SetStatusModal.vue | 2 | ||||
-rw-r--r-- | apps/workflowengine/src/components/Operation.vue | 8 | ||||
-rw-r--r-- | apps/workflowengine/src/components/Rule.vue | 16 | ||||
-rw-r--r-- | apps/workflowengine/src/components/Workflow.vue | 8 |
17 files changed, 81 insertions, 81 deletions
diff --git a/apps/comments/src/components/Comment.vue b/apps/comments/src/components/Comment.vue index 7949696928c..8e4a0d15ff0 100644 --- a/apps/comments/src/components/Comment.vue +++ b/apps/comments/src/components/Comment.vue @@ -71,7 +71,7 @@ :value="localMessage" @update:value="updateLocalMessage" @submit="onSubmit" /> - <Button class="comment__submit" + <ButtonVue class="comment__submit" type="tertiary-no-background" native-type="submit" :aria-label="t('comments', 'Post comment')" @@ -81,7 +81,7 @@ <span v-if="loading" class="icon-loading-small" /> <ArrowRight v-else :size="20" /> </template> - </Button> + </ButtonVue> </div> <!-- Message content --> @@ -103,7 +103,7 @@ import ActionButton from '@nextcloud/vue/dist/Components/ActionButton' import Actions from '@nextcloud/vue/dist/Components/Actions' import ActionSeparator from '@nextcloud/vue/dist/Components/ActionSeparator' import Avatar from '@nextcloud/vue/dist/Components/Avatar' -import Button from '@nextcloud/vue/dist/Components/Button' +import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' import RichContenteditable from '@nextcloud/vue/dist/Components/RichContenteditable' import RichEditorMixin from '@nextcloud/vue/dist/Mixins/richEditor' import ArrowRight from 'vue-material-design-icons/ArrowRight' @@ -120,7 +120,7 @@ export default { ActionSeparator, ArrowRight, Avatar, - Button, + ButtonVue, Moment, RichContenteditable, }, diff --git a/apps/dashboard/src/DashboardApp.vue b/apps/dashboard/src/DashboardApp.vue index a7ec30fdb4d..f564ec3cf5d 100644 --- a/apps/dashboard/src/DashboardApp.vue +++ b/apps/dashboard/src/DashboardApp.vue @@ -28,12 +28,12 @@ </Draggable> <div class="footer"> - <Button @click="showModal"> + <ButtonVue @click="showModal"> <template #icon> <Pencil :size="20" /> </template> {{ t('dashboard', 'Customize') }} - </Button> + </ButtonVue> </div> <Modal v-if="modal" size="large" @close="closeModal"> @@ -97,7 +97,7 @@ import { generateUrl } from '@nextcloud/router' import { getCurrentUser } from '@nextcloud/auth' import { loadState } from '@nextcloud/initial-state' import axios from '@nextcloud/axios' -import Button from '@nextcloud/vue/dist/Components/Button' +import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' import Draggable from 'vuedraggable' import Modal from '@nextcloud/vue/dist/Components/Modal' import Pencil from 'vue-material-design-icons/Pencil.vue' @@ -129,7 +129,7 @@ export default { name: 'DashboardApp', components: { BackgroundSettings, - Button, + ButtonVue, Draggable, Modal, Pencil, diff --git a/apps/dav/src/views/Availability.vue b/apps/dav/src/views/Availability.vue index 515b3a3b63a..5f616fe05d1 100644 --- a/apps/dav/src/views/Availability.vue +++ b/apps/dav/src/views/Availability.vue @@ -28,11 +28,11 @@ {{ $t('dav', 'Automatically set user status to "Do not disturb" outside of availability to mute all notifications.') }} </CheckboxRadioSwitch> - <Button :disabled="loading || saving" + <ButtonVue :disabled="loading || saving" type="primary" @click="save"> {{ $t('dav', 'Save') }} - </Button> + </ButtonVue> </SettingsSection> </template> @@ -53,7 +53,7 @@ import { disableUserStatusAutomation, } from '../service/PreferenceService' import jstz from 'jstimezonedetect' -import Button from '@nextcloud/vue/dist/Components/Button' +import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' import CheckboxRadioSwitch from '@nextcloud/vue/dist/Components/CheckboxRadioSwitch' import SettingsSection from '@nextcloud/vue/dist/Components/SettingsSection' import TimezonePicker from '@nextcloud/vue/dist/Components/TimezonePicker' @@ -61,7 +61,7 @@ import TimezonePicker from '@nextcloud/vue/dist/Components/TimezonePicker' export default { name: 'Availability', components: { - Button, + ButtonVue, CheckboxRadioSwitch, CalendarAvailability, SettingsSection, diff --git a/apps/federatedfilesharing/src/components/PersonalSettings.vue b/apps/federatedfilesharing/src/components/PersonalSettings.vue index 896860cf3e9..81bf5f21a7f 100644 --- a/apps/federatedfilesharing/src/components/PersonalSettings.vue +++ b/apps/federatedfilesharing/src/components/PersonalSettings.vue @@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. <p class="cloud-id-text"> {{ t('federatedfilesharing', 'Your Federated Cloud ID:') }} <strong id="cloudid">{{ cloudId }}</strong> - <Button ref="clipboard" + <ButtonVue ref="clipboard" v-tooltip="copyLinkTooltip" class="clipboard" type="tertiary-no-background" @@ -31,24 +31,24 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. <template #icon> <Clipboard :size="20" /> </template> - </Button> + </ButtonVue> </p> <p class="social-button"> {{ t('federatedfilesharing', 'Share it so your friends can share files with you:') }}<br> - <Button @click="goTo(shareFacebookUrl)"> + <ButtonVue @click="goTo(shareFacebookUrl)"> {{ t('federatedfilesharing', 'Facebook') }} <template #icon> <Facebook :size="20" /> </template> - </Button> - <Button @click="goTo(shareTwitterUrl)"> + </ButtonVue> + <ButtonVue @click="goTo(shareTwitterUrl)"> {{ t('federatedfilesharing', 'Twitter') }} <template #icon> <Twitter :size="20" /> </template> - </Button> - <Button @click="goTo(shareDiasporaUrl)"> + </ButtonVue> + <ButtonVue @click="goTo(shareDiasporaUrl)"> {{ t('federatedfilesharing', 'Diaspora') }} <template #icon> <svg width="20" @@ -56,13 +56,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. viewBox="-10 -5 1034 1034" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M502 197q-96 0-96.5 1.5t-1.5 137-1.5 138-2 2.5T266 432.5 132.5 390t-30 94T74 578l232 77q21 8 21 10t-79.5 117.5T168 899t79.5 56.5T328 1011t81-110 82-110 41 55l83 115q43 60 44 60t79.5-58 79-59-76-112.5-76-113.5T795 632.5t129.5-44-28-94T867 400t-128 42-128.5 43-2.5-7.5-1-38.5l-3-108q-4-133-5-133.5t-97-.5z" /></svg> </template> - </Button> - <Button @click="showHtml = !showHtml"> + </ButtonVue> + <ButtonVue @click="showHtml = !showHtml"> <template #icon> <Web :size="20" /> </template> {{ t('federatedfilesharing', 'Add to your website') }} - </Button> + </ButtonVue> </p> <template v-if="showHtml"> @@ -89,7 +89,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. import { showError } from '@nextcloud/dialogs' import { loadState } from '@nextcloud/initial-state' import SettingsSection from '@nextcloud/vue/dist/Components/SettingsSection' -import Button from '@nextcloud/vue/dist/Components/Button' +import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' import Twitter from 'vue-material-design-icons/Twitter' import Facebook from 'vue-material-design-icons/Facebook' import Web from 'vue-material-design-icons/Web' @@ -99,7 +99,7 @@ import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip' export default { name: 'PersonalSettings', components: { - Button, + ButtonVue, SettingsSection, Twitter, Facebook, diff --git a/apps/files/src/components/TransferOwnershipDialogue.vue b/apps/files/src/components/TransferOwnershipDialogue.vue index 8e96cdebf54..90af77175af 100644 --- a/apps/files/src/components/TransferOwnershipDialogue.vue +++ b/apps/files/src/components/TransferOwnershipDialogue.vue @@ -25,12 +25,12 @@ <form @submit.prevent="submit"> <p class="transfer-select-row"> <span>{{ readableDirectory }}</span> - <Button v-if="directory === undefined" @click.prevent="start"> + <ButtonVue v-if="directory === undefined" @click.prevent="start"> {{ t('files', 'Choose file or folder to transfer') }} - </Button> - <Button v-else @click.prevent="start"> + </ButtonVue> + <ButtonVue v-else @click.prevent="start"> {{ t('files', 'Change') }} - </Button> + </ButtonVue> <span class="error">{{ directoryPickerError }}</span> </p> <p class="new-owner-row"> @@ -72,7 +72,7 @@ import { generateOcsUrl } from '@nextcloud/router' import { getFilePickerBuilder, showSuccess } from '@nextcloud/dialogs' import Multiselect from '@nextcloud/vue/dist/Components/Multiselect' import Vue from 'vue' -import Button from '@nextcloud/vue/dist/Components/Button' +import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' import logger from '../logger' @@ -87,7 +87,7 @@ export default { name: 'TransferOwnershipDialogue', components: { Multiselect, - Button, + ButtonVue, }, data() { return { diff --git a/apps/oauth2/src/App.vue b/apps/oauth2/src/App.vue index 3636a532ce1..ba374fcc21c 100644 --- a/apps/oauth2/src/App.vue +++ b/apps/oauth2/src/App.vue @@ -54,9 +54,9 @@ type="url" name="redirectUri" :placeholder="t('oauth2', 'Redirection URI')"> - <Button class="inline-button"> + <ButtonVue class="inline-button"> {{ t('oauth2', 'Add') }} - </Button> + </ButtonVue> </form> </SettingsSection> </template> @@ -67,7 +67,7 @@ import OAuthItem from './components/OAuthItem' import { generateUrl } from '@nextcloud/router' import { getCapabilities } from '@nextcloud/capabilities' import SettingsSection from '@nextcloud/vue/dist/Components/SettingsSection' -import Button from '@nextcloud/vue/dist/Components/Button' +import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' import { loadState } from '@nextcloud/initial-state' export default { @@ -75,7 +75,7 @@ export default { components: { OAuthItem, SettingsSection, - Button, + ButtonVue, }, props: { clients: { diff --git a/apps/oauth2/src/components/OAuthItem.vue b/apps/oauth2/src/components/OAuthItem.vue index 6f4c5ad0f7e..8a98d8dab29 100644 --- a/apps/oauth2/src/components/OAuthItem.vue +++ b/apps/oauth2/src/components/OAuthItem.vue @@ -42,14 +42,14 @@ </table> </td> <td class="action-column"> - <Button type="tertiary-no-background" + <ButtonVue type="tertiary-no-background" :aria-label="t('oauth2', 'Delete')" @click="$emit('delete', id)"> <template #icon> <Delete :size="20" :title="t('oauth2', 'Delete')" /> </template> - </Button> + </ButtonVue> </td> </tr> </template> @@ -57,13 +57,13 @@ <script> import Delete from 'vue-material-design-icons/Delete' -import Button from '@nextcloud/vue/dist/Components/Button' +import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' export default { name: 'OAuthItem', components: { Delete, - Button, + ButtonVue, }, props: { client: { diff --git a/apps/settings/src/components/AdminTwoFactor.vue b/apps/settings/src/components/AdminTwoFactor.vue index 435348f30ab..a5c61b3b0f8 100644 --- a/apps/settings/src/components/AdminTwoFactor.vue +++ b/apps/settings/src/components/AdminTwoFactor.vue @@ -53,12 +53,12 @@ </p> </template> <p class="top-margin"> - <Button v-if="dirty" + <ButtonVue v-if="dirty" type="primary" :disabled="loading" @click="saveChanges"> {{ t('settings', 'Save changes') }} - </Button> + </ButtonVue> </p> </SettingsSection> </template> @@ -66,7 +66,7 @@ <script> import axios from '@nextcloud/axios' import Multiselect from '@nextcloud/vue/dist/Components/Multiselect' -import Button from '@nextcloud/vue/dist/Components/Button' +import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' import CheckboxRadioSwitch from '@nextcloud/vue/dist/Components/CheckboxRadioSwitch' import SettingsSection from '@nextcloud/vue/dist/Components/SettingsSection' import { loadState } from '@nextcloud/initial-state' @@ -78,7 +78,7 @@ export default { name: 'AdminTwoFactor', components: { Multiselect, - Button, + ButtonVue, CheckboxRadioSwitch, SettingsSection, }, diff --git a/apps/settings/src/components/AppList.vue b/apps/settings/src/components/AppList.vue index 3a0c1fe51d0..2c62e4e0d36 100644 --- a/apps/settings/src/components/AppList.vue +++ b/apps/settings/src/components/AppList.vue @@ -26,12 +26,12 @@ <template v-if="useListView"> <div v-if="showUpdateAll" class="toolbar"> {{ n('settings', '%n app has an update available', '%n apps have an update available', counter) }} - <Button v-if="showUpdateAll" + <ButtonVue v-if="showUpdateAll" id="app-list-update-all" type="primary" @click="updateAll"> {{ n('settings', 'Update', 'Update all', counter) }} - </Button> + </ButtonVue> </div> <div v-if="!showUpdateAll" class="toolbar"> @@ -107,13 +107,13 @@ import AppItem from './AppList/AppItem' import PrefixMixin from './PrefixMixin' import pLimit from 'p-limit' -import Button from '@nextcloud/vue/dist/Components/Button' +import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' export default { name: 'AppList', components: { AppItem, - Button, + ButtonVue, }, mixins: [PrefixMixin], props: ['category', 'app', 'search'], diff --git a/apps/settings/src/components/AuthTokenSetupDialogue.vue b/apps/settings/src/components/AuthTokenSetupDialogue.vue index 9a03d0971ac..3f3b1cf1fb3 100644 --- a/apps/settings/src/components/AuthTokenSetupDialogue.vue +++ b/apps/settings/src/components/AuthTokenSetupDialogue.vue @@ -28,11 +28,11 @@ :disabled="loading" :placeholder="t('settings', 'App name')" @keydown.enter="submit"> - <Button :disabled="loading || deviceName.length === 0" + <ButtonVue :disabled="loading || deviceName.length === 0" type="primary" @click="submit"> {{ t('settings', 'Create new app password') }} - </Button> + </ButtonVue> </div> <div v-else class="spacing"> {{ t('settings', 'Use the credentials below to configure your app or device.') }} @@ -63,9 +63,9 @@ class="icon icon-clippy" @mouseover="hoveringCopyButton = true" @mouseleave="hoveringCopyButton = false" /> - <Button @click="reset"> + <ButtonVue @click="reset"> {{ t('settings', 'Done') }} - </Button> + </ButtonVue> </div> <div class="app-password-row"> <span class="app-password-label" /> @@ -83,13 +83,13 @@ import QR from '@chenfengyuan/vue-qrcode' import confirmPassword from '@nextcloud/password-confirmation' import { getRootUrl } from '@nextcloud/router' -import Button from '@nextcloud/vue/dist/Components/Button' +import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' export default { name: 'AuthTokenSetupDialogue', components: { QR, - Button, + ButtonVue, }, props: { add: { diff --git a/apps/settings/src/components/Encryption.vue b/apps/settings/src/components/Encryption.vue index aef44164e2f..d75225d1a18 100644 --- a/apps/settings/src/components/Encryption.vue +++ b/apps/settings/src/components/Encryption.vue @@ -43,10 +43,10 @@ <p class="margin-bottom"> {{ t('settings', 'This is the final warning: Do you really want to enable encryption?') }} </p> - <Button type="primary" + <ButtonVue type="primary" @click="enableEncryption()"> {{ t('settings', "Enable encryption") }} - </Button> + </ButtonVue> </div> <div v-if="encryptionEnabled"> @@ -78,7 +78,7 @@ <script> import axios from '@nextcloud/axios' import CheckboxRadioSwitch from '@nextcloud/vue/dist/Components/CheckboxRadioSwitch' -import Button from '@nextcloud/vue/dist/Components/Button' +import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' import SettingsSection from '@nextcloud/vue/dist/Components/SettingsSection' import { loadState } from '@nextcloud/initial-state' import { getLoggerBuilder } from '@nextcloud/logger' @@ -97,7 +97,7 @@ export default { components: { CheckboxRadioSwitch, SettingsSection, - Button, + ButtonVue, }, data() { const encryptionModules = loadState('settings', 'encryption-modules') diff --git a/apps/settings/src/components/PersonalInfo/shared/HeaderBar.vue b/apps/settings/src/components/PersonalInfo/shared/HeaderBar.vue index 65eb5a110a3..59fdaa6c802 100644 --- a/apps/settings/src/components/PersonalInfo/shared/HeaderBar.vue +++ b/apps/settings/src/components/PersonalInfo/shared/HeaderBar.vue @@ -35,7 +35,7 @@ </template> <template v-if="isEditable && isMultiValueSupported"> - <Button type="tertiary" + <ButtonVue type="tertiary" :disabled="!isValidSection" :aria-label="t('settings', 'Add additional email')" @click.stop.prevent="onAddAdditional"> @@ -43,14 +43,14 @@ <Plus :size="20" /> </template> {{ t('settings', 'Add') }} - </Button> + </ButtonVue> </template> </h3> </template> <script> import FederationControl from './FederationControl' -import Button from '@nextcloud/vue/dist/Components/Button' +import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' import Plus from 'vue-material-design-icons/Plus' import { ACCOUNT_PROPERTY_READABLE_ENUM, ACCOUNT_SETTING_PROPERTY_READABLE_ENUM, PROFILE_READABLE_ENUM } from '../../../constants/AccountPropertyConstants' @@ -59,7 +59,7 @@ export default { components: { FederationControl, - Button, + ButtonVue, Plus, }, diff --git a/apps/settings/src/components/UserList.vue b/apps/settings/src/components/UserList.vue index 4d50da62596..12ef853a9b0 100644 --- a/apps/settings/src/components/UserList.vue +++ b/apps/settings/src/components/UserList.vue @@ -142,12 +142,12 @@ <div v-if="showConfig.showUserBackend" class="userBackend" /> <div v-if="showConfig.showLastLogin" class="lastLogin" /> <div class="user-actions"> - <Button id="newsubmit" + <ButtonVue id="newsubmit" type="primary" native-type="submit" value=""> {{ t('settings', 'Add a new user') }} - </Button> + </ButtonVue> </div> </form> </Modal> @@ -235,7 +235,7 @@ import { subscribe, unsubscribe } from '@nextcloud/event-bus' import InfiniteLoading from 'vue-infinite-loading' import Vue from 'vue' import Modal from '@nextcloud/vue/dist/Components/Modal' -import Button from '@nextcloud/vue/dist/Components/Button' +import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' import Multiselect from '@nextcloud/vue/dist/Components/Multiselect' import userRow from './UserList/UserRow' @@ -269,7 +269,7 @@ export default { userRow, Multiselect, InfiniteLoading, - Button, + ButtonVue, }, props: { users: { diff --git a/apps/user_status/src/components/SetStatusModal.vue b/apps/user_status/src/components/SetStatusModal.vue index 0c95128c8d2..c5387536e57 100644 --- a/apps/user_status/src/components/SetStatusModal.vue +++ b/apps/user_status/src/components/SetStatusModal.vue @@ -78,7 +78,7 @@ import { showError } from '@nextcloud/dialogs' import EmojiPicker from '@nextcloud/vue/dist/Components/EmojiPicker' import Modal from '@nextcloud/vue/dist/Components/Modal' -import ButtonVue from '@nextcloud/vue/dist/Components/Button' +import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' import { getAllStatusOptions } from '../services/statusOptionsService' import OnlineStatusMixin from '../mixins/OnlineStatusMixin' import PredefinedStatusesList from './PredefinedStatusesList' diff --git a/apps/workflowengine/src/components/Operation.vue b/apps/workflowengine/src/components/Operation.vue index a148ef3097b..4d02ae973cc 100644 --- a/apps/workflowengine/src/components/Operation.vue +++ b/apps/workflowengine/src/components/Operation.vue @@ -4,9 +4,9 @@ <div class="actions__item__description"> <h3>{{ operation.name }}</h3> <small>{{ operation.description }}</small> - <Button v-if="colored"> + <ButtonVue v-if="colored"> {{ t('workflowengine', 'Add new flow') }} - </Button> + </ButtonVue> </div> <div class="actions__item_options"> <slot /> @@ -15,12 +15,12 @@ </template> <script> -import Button from '@nextcloud/vue/dist/Components/Button' +import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' export default { name: 'Operation', components: { - Button, + ButtonVue, }, props: { operation: { diff --git a/apps/workflowengine/src/components/Rule.vue b/apps/workflowengine/src/components/Rule.vue index 3ee01680819..9890d613a2b 100644 --- a/apps/workflowengine/src/components/Rule.vue +++ b/apps/workflowengine/src/components/Rule.vue @@ -31,19 +31,19 @@ @input="updateOperation" /> </Operation> <div class="buttons"> - <Button v-if="rule.id < -1 || dirty" @click="cancelRule"> + <ButtonVue v-if="rule.id < -1 || dirty" @click="cancelRule"> {{ t('workflowengine', 'Cancel') }} - </Button> - <Button v-else-if="!dirty" @click="deleteRule"> + </ButtonVue> + <ButtonVue v-else-if="!dirty" @click="deleteRule"> {{ t('workflowengine', 'Delete') }} - </Button> - <Button :type="ruleStatus.type" + </ButtonVue> + <ButtonVue :type="ruleStatus.type" @click="saveRule"> <template #icon> <component :is="ruleStatus.icon" :size="20" /> </template> {{ ruleStatus.title }} - </Button> + </ButtonVue> </div> <p v-if="error" class="error-message"> {{ error }} @@ -56,7 +56,7 @@ import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip' import Actions from '@nextcloud/vue/dist/Components/Actions' import ActionButton from '@nextcloud/vue/dist/Components/ActionButton' -import Button from '@nextcloud/vue/dist/Components/Button' +import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' import ArrowRight from 'vue-material-design-icons/ArrowRight.vue' import CheckMark from 'vue-material-design-icons/Check.vue' import Close from 'vue-material-design-icons/Close.vue' @@ -68,7 +68,7 @@ import Operation from './Operation' export default { name: 'Rule', components: { - Operation, Check, Event, Actions, ActionButton, Button, ArrowRight, CheckMark, Close, + Operation, Check, Event, Actions, ActionButton, ButtonVue, ArrowRight, CheckMark, Close, }, directives: { Tooltip, diff --git a/apps/workflowengine/src/components/Workflow.vue b/apps/workflowengine/src/components/Workflow.vue index f81a53563b5..cb8ec547ef6 100644 --- a/apps/workflowengine/src/components/Workflow.vue +++ b/apps/workflowengine/src/components/Workflow.vue @@ -26,13 +26,13 @@ </transition-group> <div v-if="hasMoreOperations" class="actions__more"> - <Button @click="showMoreOperations = !showMoreOperations"> + <ButtonVue @click="showMoreOperations = !showMoreOperations"> <template #icon> <MenuUp v-if="showMoreOperations" :size="20" /> <MenuDown v-else :size="20" /> </template> {{ showMoreOperations ? t('workflowengine', 'Show less') : t('workflowengine', 'Show more') }} - </Button> + </ButtonVue> </div> <h2 v-if="scope === 0" class="configured-flows"> @@ -53,7 +53,7 @@ import Rule from './Rule' import Operation from './Operation' import SettingsSection from '@nextcloud/vue/dist/Components/SettingsSection' -import Button from '@nextcloud/vue/dist/Components/Button' +import ButtonVue from '@nextcloud/vue/dist/Components/ButtonVue' import { mapGetters, mapState } from 'vuex' import { generateUrl } from '@nextcloud/router' import { loadState } from '@nextcloud/initial-state' @@ -65,7 +65,7 @@ const ACTION_LIMIT = 3 export default { name: 'Workflow', components: { - Button, + ButtonVue, MenuDown, MenuUp, Operation, |