diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-08-22 14:29:58 +0200 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2022-08-25 08:38:00 +0200 |
commit | d0473214cd2582ec63f4a5021a8f5927f67bc98f (patch) | |
tree | 455708226929d13d55e24bde90833e1508a38714 /apps/workflowengine/src/components/Checks | |
parent | 708018795863999b674d1e3e900313785893d6a8 (diff) | |
download | nextcloud-server-d0473214cd2582ec63f4a5021a8f5927f67bc98f.tar.gz nextcloud-server-d0473214cd2582ec63f4a5021a8f5927f67bc98f.zip |
Add Nc prefix to Nc vue component names
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/workflowengine/src/components/Checks')
6 files changed, 22 insertions, 22 deletions
diff --git a/apps/workflowengine/src/components/Checks/FileMimeType.vue b/apps/workflowengine/src/components/Checks/FileMimeType.vue index 7c4ea4d145e..86f1a6b8cb1 100644 --- a/apps/workflowengine/src/components/Checks/FileMimeType.vue +++ b/apps/workflowengine/src/components/Checks/FileMimeType.vue @@ -22,7 +22,7 @@ <template> <div> - <Multiselect :value="currentValue" + <NcMultiselect :value="currentValue" :placeholder="t('workflowengine', 'Select a file type')" label="label" track-by="pattern" @@ -46,7 +46,7 @@ alt=""> <span class="option__title">{{ props.option.label }}</span> </template> - </Multiselect> + </NcMultiselect> <input v-if="!isPredefined" type="text" :value="currentValue.pattern" @@ -56,14 +56,14 @@ </template> <script> -import Multiselect from '@nextcloud/vue/dist/Components/Multiselect' +import NcMultiselect from '@nextcloud/vue/dist/Components/NcMultiselect' import valueMixin from './../../mixins/valueMixin' import { imagePath } from '@nextcloud/router' export default { name: 'FileMimeType', components: { - Multiselect, + NcMultiselect, }, mixins: [ valueMixin, diff --git a/apps/workflowengine/src/components/Checks/MultiselectTag/MultiselectTag.vue b/apps/workflowengine/src/components/Checks/MultiselectTag/MultiselectTag.vue index c5419f69c3f..780d66fd45e 100644 --- a/apps/workflowengine/src/components/Checks/MultiselectTag/MultiselectTag.vue +++ b/apps/workflowengine/src/components/Checks/MultiselectTag/MultiselectTag.vue @@ -21,7 +21,7 @@ --> <template> - <Multiselect v-model="inputValObjects" + <NcMultiselect v-model="inputValObjects" :options="tags" :options-limit="5" :placeholder="label" @@ -37,18 +37,18 @@ <template #option="scope"> {{ tagLabel(scope.option) }} </template> - </multiselect> + </NcMultiselect> </template> <script> -import Multiselect from '@nextcloud/vue/dist/Components/Multiselect' +import NcMultiselect from '@nextcloud/vue/dist/Components/NcMultiselect' import { searchTags } from './api' let uuid = 0 export default { name: 'MultiselectTag', components: { - Multiselect, + NcMultiselect, }, props: { label: { diff --git a/apps/workflowengine/src/components/Checks/RequestTime.vue b/apps/workflowengine/src/components/Checks/RequestTime.vue index 6723ba52f93..d8bfaff63a5 100644 --- a/apps/workflowengine/src/components/Checks/RequestTime.vue +++ b/apps/workflowengine/src/components/Checks/RequestTime.vue @@ -12,7 +12,7 @@ <p v-if="!valid" class="invalid-hint"> {{ t('workflowengine', 'Please enter a valid time span') }} </p> - <Multiselect v-show="valid" + <NcMultiselect v-show="valid" v-model="newValue.timezone" :options="timezones" @input="update" /> @@ -20,7 +20,7 @@ </template> <script> -import Multiselect from '@nextcloud/vue/dist/Components/Multiselect' +import NcMultiselect from '@nextcloud/vue/dist/Components/NcMultiselect' import moment from 'moment-timezone' import valueMixin from '../../mixins/valueMixin' @@ -28,7 +28,7 @@ const zones = moment.tz.names() export default { name: 'RequestTime', components: { - Multiselect, + NcMultiselect, }, mixins: [ valueMixin, diff --git a/apps/workflowengine/src/components/Checks/RequestURL.vue b/apps/workflowengine/src/components/Checks/RequestURL.vue index 85283a2a14f..1a5b5cc7f87 100644 --- a/apps/workflowengine/src/components/Checks/RequestURL.vue +++ b/apps/workflowengine/src/components/Checks/RequestURL.vue @@ -22,7 +22,7 @@ <template> <div> - <Multiselect :value="currentValue" + <NcMultiselect :value="currentValue" :placeholder="t('workflowengine', 'Select a request URL')" label="label" track-by="pattern" @@ -40,7 +40,7 @@ <span class="option__icon" :class="props.option.icon" /> <span class="option__title">{{ props.option.label }} {{ props.option.$groupLabel }}</span> </template> - </Multiselect> + </NcMultiselect> <input v-if="!isPredefined" type="text" :value="currentValue.pattern" @@ -50,13 +50,13 @@ </template> <script> -import Multiselect from '@nextcloud/vue/dist/Components/Multiselect' +import NcMultiselect from '@nextcloud/vue/dist/Components/NcMultiselect' import valueMixin from '../../mixins/valueMixin' export default { name: 'RequestURL', components: { - Multiselect, + NcMultiselect, }, mixins: [ valueMixin, diff --git a/apps/workflowengine/src/components/Checks/RequestUserAgent.vue b/apps/workflowengine/src/components/Checks/RequestUserAgent.vue index 2bab6d7fed5..c4a5265ac99 100644 --- a/apps/workflowengine/src/components/Checks/RequestUserAgent.vue +++ b/apps/workflowengine/src/components/Checks/RequestUserAgent.vue @@ -22,7 +22,7 @@ <template> <div> - <Multiselect :value="currentValue" + <NcMultiselect :value="currentValue" :placeholder="t('workflowengine', 'Select a user agent')" label="label" track-by="pattern" @@ -43,7 +43,7 @@ <!-- eslint-disable-next-line vue/no-v-html --> <span v-else class="option__title" v-html="props.option.label" /> </template> - </Multiselect> + </NcMultiselect> <input v-if="!isPredefined" type="text" :value="currentValue.pattern" @@ -52,13 +52,13 @@ </template> <script> -import Multiselect from '@nextcloud/vue/dist/Components/Multiselect' +import NcMultiselect from '@nextcloud/vue/dist/Components/NcMultiselect' import valueMixin from '../../mixins/valueMixin' export default { name: 'RequestUserAgent', components: { - Multiselect, + NcMultiselect, }, mixins: [ valueMixin, diff --git a/apps/workflowengine/src/components/Checks/RequestUserGroup.vue b/apps/workflowengine/src/components/Checks/RequestUserGroup.vue index 8fba0fe9211..ba55d88c81c 100644 --- a/apps/workflowengine/src/components/Checks/RequestUserGroup.vue +++ b/apps/workflowengine/src/components/Checks/RequestUserGroup.vue @@ -22,7 +22,7 @@ <template> <div> - <Multiselect :value="currentValue" + <NcMultiselect :value="currentValue" :loading="status.isLoading && groups.length === 0" :options="groups" :multiple="false" @@ -34,7 +34,7 @@ </template> <script> -import Multiselect from '@nextcloud/vue/dist/Components/Multiselect' +import NcMultiselect from '@nextcloud/vue/dist/Components/NcMultiselect' import axios from '@nextcloud/axios' import { generateOcsUrl } from '@nextcloud/router' @@ -46,7 +46,7 @@ const status = { export default { name: 'RequestUserGroup', components: { - Multiselect, + NcMultiselect, }, props: { value: { |