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

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2022-09-03 13:04:46 +0300
committerdartcafe <github@dartcafe.de>2022-09-09 09:17:57 +0300
commiteaadb9b3662852314399b9064a9505918b272b3b (patch)
tree6b18469fd435fbc4a4c0d86f260fef6a959fca94 /src/js/components/Configuration
parent9c4a54e647a5d1ec89601a6cccd69e200e5c711e (diff)
dep/nextcloud-vue-6
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/Configuration')
-rw-r--r--src/js/components/Configuration/ConfigAdminAccess.vue8
-rw-r--r--src/js/components/Configuration/ConfigAllowComment.vue8
-rw-r--r--src/js/components/Configuration/ConfigAllowMayBe.vue8
-rw-r--r--src/js/components/Configuration/ConfigAnonymous.vue8
-rw-r--r--src/js/components/Configuration/ConfigAutoReminder.vue20
-rw-r--r--src/js/components/Configuration/ConfigClosing.vue18
-rw-r--r--src/js/components/Configuration/ConfigOptionLimit.vue12
-rw-r--r--src/js/components/Configuration/ConfigProposals.vue16
-rw-r--r--src/js/components/Configuration/ConfigUseNo.vue8
-rw-r--r--src/js/components/Configuration/ConfigVoteLimit.vue8
10 files changed, 57 insertions, 57 deletions
diff --git a/src/js/components/Configuration/ConfigAdminAccess.vue b/src/js/components/Configuration/ConfigAdminAccess.vue
index 395393b6..e06bf4f5 100644
--- a/src/js/components/Configuration/ConfigAdminAccess.vue
+++ b/src/js/components/Configuration/ConfigAdminAccess.vue
@@ -21,20 +21,20 @@
-->
<template>
- <CheckboxRadioSwitch :checked.sync="adminAccess" type="switch">
+ <NcCheckboxRadioSwitch :checked.sync="adminAccess" type="switch">
{{ label }}
- </CheckboxRadioSwitch>
+ </NcCheckboxRadioSwitch>
</template>
<script>
import { mapState } from 'vuex'
-import { CheckboxRadioSwitch } from '@nextcloud/vue'
+import { NcCheckboxRadioSwitch } from '@nextcloud/vue'
export default {
name: 'ConfigAdminAccess',
components: {
- CheckboxRadioSwitch,
+ NcCheckboxRadioSwitch,
},
data() {
diff --git a/src/js/components/Configuration/ConfigAllowComment.vue b/src/js/components/Configuration/ConfigAllowComment.vue
index 7982d6b1..4e67553c 100644
--- a/src/js/components/Configuration/ConfigAllowComment.vue
+++ b/src/js/components/Configuration/ConfigAllowComment.vue
@@ -21,20 +21,20 @@
-->
<template>
- <CheckboxRadioSwitch :checked.sync="allowComment" type="switch">
+ <NcCheckboxRadioSwitch :checked.sync="allowComment" type="switch">
{{ t('polls', 'Allow Comments') }}
- </CheckboxRadioSwitch>
+ </NcCheckboxRadioSwitch>
</template>
<script>
import { mapState } from 'vuex'
-import { CheckboxRadioSwitch } from '@nextcloud/vue'
+import { NcCheckboxRadioSwitch } from '@nextcloud/vue'
export default {
name: 'ConfigAllowComment',
components: {
- CheckboxRadioSwitch,
+ NcCheckboxRadioSwitch,
},
computed: {
diff --git a/src/js/components/Configuration/ConfigAllowMayBe.vue b/src/js/components/Configuration/ConfigAllowMayBe.vue
index e55945fc..b0b2566f 100644
--- a/src/js/components/Configuration/ConfigAllowMayBe.vue
+++ b/src/js/components/Configuration/ConfigAllowMayBe.vue
@@ -21,20 +21,20 @@
-->
<template>
- <CheckboxRadioSwitch :checked.sync="allowMaybe" type="switch">
+ <NcCheckboxRadioSwitch :checked.sync="allowMaybe" type="switch">
{{ label }}
- </CheckboxRadioSwitch>
+ </NcCheckboxRadioSwitch>
</template>
<script>
import { mapState } from 'vuex'
-import { CheckboxRadioSwitch } from '@nextcloud/vue'
+import { NcCheckboxRadioSwitch } from '@nextcloud/vue'
export default {
name: 'ConfigAllowMayBe',
components: {
- CheckboxRadioSwitch,
+ NcCheckboxRadioSwitch,
},
data() {
diff --git a/src/js/components/Configuration/ConfigAnonymous.vue b/src/js/components/Configuration/ConfigAnonymous.vue
index 35c876ff..e542ba2e 100644
--- a/src/js/components/Configuration/ConfigAnonymous.vue
+++ b/src/js/components/Configuration/ConfigAnonymous.vue
@@ -21,20 +21,20 @@
-->
<template>
- <CheckboxRadioSwitch :checked.sync="anonymous" type="switch">
+ <NcCheckboxRadioSwitch :checked.sync="anonymous" type="switch">
{{ t('polls', 'Anonymous poll') }}
- </CheckboxRadioSwitch>
+ </NcCheckboxRadioSwitch>
</template>
<script>
import { mapState } from 'vuex'
-import { CheckboxRadioSwitch } from '@nextcloud/vue'
+import { NcCheckboxRadioSwitch } from '@nextcloud/vue'
export default {
name: 'ConfigAnonymous',
components: {
- CheckboxRadioSwitch,
+ NcCheckboxRadioSwitch,
},
computed: {
diff --git a/src/js/components/Configuration/ConfigAutoReminder.vue b/src/js/components/Configuration/ConfigAutoReminder.vue
index 17bfe6a6..2a514424 100644
--- a/src/js/components/Configuration/ConfigAutoReminder.vue
+++ b/src/js/components/Configuration/ConfigAutoReminder.vue
@@ -22,16 +22,16 @@
<template>
<div class="auto-reminder-switch">
- <CheckboxRadioSwitch :checked.sync="autoReminder" type="switch">
+ <NcCheckboxRadioSwitch :checked.sync="autoReminder" type="switch">
{{ t('polls', 'Use Autoreminder') }}
- </CheckboxRadioSwitch>
+ </NcCheckboxRadioSwitch>
<Popover>
<template #trigger>
- <Actions>
- <ActionButton icon="icon-info">
+ <NcActions>
+ <NcActionButton icon="icon-info">
{{ t('polls', 'Autoreminder informations') }}
- </ActionButton>
- </Actions>
+ </NcActionButton>
+ </NcActions>
</template>
<AutoReminderInformation />
</Popover>
@@ -40,15 +40,15 @@
<script>
import { mapState } from 'vuex'
-import { Actions, ActionButton, Popover, CheckboxRadioSwitch } from '@nextcloud/vue'
+import { NcActions, NcActionButton, Popover, NcCheckboxRadioSwitch } from '@nextcloud/vue'
export default {
name: 'ConfigAutoReminder',
components: {
- CheckboxRadioSwitch,
- Actions,
- ActionButton,
+ NcCheckboxRadioSwitch,
+ NcActions,
+ NcActionButton,
Popover,
AutoReminderInformation: () => import('./AutoReminderInformation.vue'),
},
diff --git a/src/js/components/Configuration/ConfigClosing.vue b/src/js/components/Configuration/ConfigClosing.vue
index 925fbbeb..3f950346 100644
--- a/src/js/components/Configuration/ConfigClosing.vue
+++ b/src/js/components/Configuration/ConfigClosing.vue
@@ -22,24 +22,24 @@
<template>
<div>
- <VueButton @click="toggleClosed()">
+ <NcButton @click="toggleClosed()">
<template #icon>
<OpenPollIcon v-if="closed" />
<ClosePollIcon v-else />
</template>
{{ closed ? t('polls', 'Reopen poll'): t('polls', 'Close poll') }}
- </VueButton>
- <CheckboxRadioSwitch v-show="!closed" :checked.sync="useExpire" type="switch">
+ </NcButton>
+ <NcCheckboxRadioSwitch v-show="!closed" :checked.sync="useExpire" type="switch">
{{ t('polls', 'Poll closing date') }}
- </CheckboxRadioSwitch>
- <DatetimePicker v-show="useExpire && !closed" v-model="expire" v-bind="expirationDatePicker" />
+ </NcCheckboxRadioSwitch>
+ <NcDatetimePicker v-show="useExpire && !closed" v-model="expire" v-bind="expirationDatePicker" />
</div>
</template>
<script>
import { mapState, mapGetters } from 'vuex'
import moment from '@nextcloud/moment'
-import { Button as VueButton, DatetimePicker, CheckboxRadioSwitch } from '@nextcloud/vue'
+import { NcButton, NcDatetimePicker, NcCheckboxRadioSwitch } from '@nextcloud/vue'
import OpenPollIcon from 'vue-material-design-icons/LockOpenVariant.vue'
import ClosePollIcon from 'vue-material-design-icons/Lock.vue'
@@ -49,9 +49,9 @@ export default {
components: {
OpenPollIcon,
ClosePollIcon,
- CheckboxRadioSwitch,
- DatetimePicker,
- VueButton,
+ NcCheckboxRadioSwitch,
+ NcDatetimePicker,
+ NcButton,
},
data() {
diff --git a/src/js/components/Configuration/ConfigOptionLimit.vue b/src/js/components/Configuration/ConfigOptionLimit.vue
index 48738834..a1087e63 100644
--- a/src/js/components/Configuration/ConfigOptionLimit.vue
+++ b/src/js/components/Configuration/ConfigOptionLimit.vue
@@ -22,9 +22,9 @@
<template>
<div>
- <CheckboxRadioSwitch :checked.sync="useOptionLimit" type="switch">
+ <NcCheckboxRadioSwitch :checked.sync="useOptionLimit" type="switch">
{{ t('polls', 'Limit "Yes" votes per option') }}
- </CheckboxRadioSwitch>
+ </NcCheckboxRadioSwitch>
<InputDiv v-if="optionLimit"
v-model="optionLimit"
@@ -33,25 +33,25 @@
inputmode="numeric"
use-num-modifiers />
- <CheckboxRadioSwitch v-if="optionLimit"
+ <NcCheckboxRadioSwitch v-if="optionLimit"
class="indented"
:checked.sync="hideBookedUp"
type="switch">
{{ t('polls', 'Hide not available Options') }}
- </CheckboxRadioSwitch>
+ </NcCheckboxRadioSwitch>
</div>
</template>
<script>
import { mapState } from 'vuex'
-import { CheckboxRadioSwitch } from '@nextcloud/vue'
+import { NcCheckboxRadioSwitch } from '@nextcloud/vue'
import InputDiv from '../Base/InputDiv.vue'
export default {
name: 'ConfigOptionLimit',
components: {
- CheckboxRadioSwitch,
+ NcCheckboxRadioSwitch,
InputDiv,
},
diff --git a/src/js/components/Configuration/ConfigProposals.vue b/src/js/components/Configuration/ConfigProposals.vue
index 1e5f0427..03c8b4ee 100644
--- a/src/js/components/Configuration/ConfigProposals.vue
+++ b/src/js/components/Configuration/ConfigProposals.vue
@@ -22,30 +22,30 @@
<template>
<div>
- <CheckboxRadioSwitch :checked.sync="allowProposals" type="switch">
+ <NcCheckboxRadioSwitch :checked.sync="allowProposals" type="switch">
{{ t('polls', 'Allow Proposals') }}
- </CheckboxRadioSwitch>
+ </NcCheckboxRadioSwitch>
- <CheckboxRadioSwitch v-show="proposalsAllowed" :checked.sync="proposalExpiration" type="switch">
+ <NcCheckboxRadioSwitch v-show="proposalsAllowed" :checked.sync="proposalExpiration" type="switch">
{{ t('polls', 'Proposal closing date') }}
- </CheckboxRadioSwitch>
+ </NcCheckboxRadioSwitch>
- <DatetimePicker v-show="proposalExpiration && proposalsAllowed" v-model="pollExpire" v-bind="expirationDatePicker" />
+ <NcDatetimePicker v-show="proposalExpiration && proposalsAllowed" v-model="pollExpire" v-bind="expirationDatePicker" />
</div>
</template>
<script>
import { mapState, mapGetters } from 'vuex'
import moment from '@nextcloud/moment'
-import { CheckboxRadioSwitch, DatetimePicker } from '@nextcloud/vue'
+import { NcCheckboxRadioSwitch, NcDatetimePicker } from '@nextcloud/vue'
import { writePoll } from '../../mixins/writePoll.js'
export default {
name: 'ConfigProposals',
components: {
- CheckboxRadioSwitch,
- DatetimePicker,
+ NcCheckboxRadioSwitch,
+ NcDatetimePicker,
},
mixins: [writePoll],
diff --git a/src/js/components/Configuration/ConfigUseNo.vue b/src/js/components/Configuration/ConfigUseNo.vue
index dccac3fa..73ea9da8 100644
--- a/src/js/components/Configuration/ConfigUseNo.vue
+++ b/src/js/components/Configuration/ConfigUseNo.vue
@@ -21,20 +21,20 @@
-->
<template>
- <CheckboxRadioSwitch :checked.sync="deleteVoteOnNo" type="switch">
+ <NcCheckboxRadioSwitch :checked.sync="deleteVoteOnNo" type="switch">
{{ label }}
- </CheckboxRadioSwitch>
+ </NcCheckboxRadioSwitch>
</template>
<script>
import { mapState } from 'vuex'
-import { CheckboxRadioSwitch } from '@nextcloud/vue'
+import { NcCheckboxRadioSwitch } from '@nextcloud/vue'
export default {
name: 'ConfigUseNo',
components: {
- CheckboxRadioSwitch,
+ NcCheckboxRadioSwitch,
},
data() {
diff --git a/src/js/components/Configuration/ConfigVoteLimit.vue b/src/js/components/Configuration/ConfigVoteLimit.vue
index 871aa248..5597f1d2 100644
--- a/src/js/components/Configuration/ConfigVoteLimit.vue
+++ b/src/js/components/Configuration/ConfigVoteLimit.vue
@@ -22,9 +22,9 @@
<template>
<div>
- <CheckboxRadioSwitch :checked.sync="useVoteLimit" type="switch">
+ <NcCheckboxRadioSwitch :checked.sync="useVoteLimit" type="switch">
{{ t('polls', 'Limit "Yes" votes per user') }}
- </CheckboxRadioSwitch>
+ </NcCheckboxRadioSwitch>
<InputDiv v-if="voteLimit"
v-model="voteLimit"
@@ -37,14 +37,14 @@
<script>
import { mapState } from 'vuex'
-import { CheckboxRadioSwitch } from '@nextcloud/vue'
+import { NcCheckboxRadioSwitch } from '@nextcloud/vue'
import InputDiv from '../Base/InputDiv.vue'
export default {
name: 'ConfigVoteLimit',
components: {
- CheckboxRadioSwitch,
+ NcCheckboxRadioSwitch,
InputDiv,
},