summaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-04-15 11:52:24 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-04-15 11:52:24 +0200
commite32528687539e30edec3bcee5993f84866d9398f (patch)
tree2e86f5d24e113e5f5bf09fb41be5b90619e7542f /src/components
parentd39c5127c9bd173dbd437e925817cb5e04550706 (diff)
Update nextcloud 0.10.0
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src/components')
-rw-r--r--src/components/ContactDetails.vue12
-rw-r--r--src/components/ContactDetails/ContactDetailsAddNewProp.vue2
-rw-r--r--src/components/ContactsList.vue6
-rw-r--r--src/components/Properties/PropertyDateTime.vue4
-rw-r--r--src/components/Properties/PropertyMultipleText.vue2
-rw-r--r--src/components/Properties/PropertySelect.vue2
-rw-r--r--src/components/Properties/PropertyText.vue2
-rw-r--r--src/components/Settings/SettingsAddressbook.vue2
8 files changed, 16 insertions, 16 deletions
diff --git a/src/components/ContactDetails.vue b/src/components/ContactDetails.vue
index db34b7e8..1acadcae 100644
--- a/src/components/ContactDetails.vue
+++ b/src/components/ContactDetails.vue
@@ -39,7 +39,7 @@
<!-- contact header -->
<header :style="{ 'backgroundColor': colorAvatar }">
<!-- avatar and upload photo -->
- <contact-avatar :contact="contact" />
+ <ContactAvatar :contact="contact" />
<!-- QUESTION: is it better to pass contact as a prop or get it from the store inside
contact-avatar ? :avatar="contact.photo"-->
@@ -103,7 +103,7 @@
<!-- using contact.key in the key and index as key to avoid conflicts between similar data and exact key -->
<!-- passing the debounceUpdateContact so that the contact-property component contains the function
and allow us to use it on the rfcProps since the scope is forwarded to the actions -->
- <contact-property v-for="(property, index) in sortedProperties"
+ <ContactProperty v-for="(property, index) in sortedProperties"
:key="`${index}-${contact.key}-${property.name}`" :index="index"
:sorted-properties="sortedProperties" :property="property"
:contact="contact" :local-contact="localContact"
@@ -113,18 +113,18 @@
empty property because this is a required prop on regular property-select. But since
we are hijacking this... (this is supposed to be used with a ICAL.property, but to avoid code
duplication, we created a fake propModel and property with our own options here) -->
- <property-select :prop-model="addressbookModel" :value.sync="addressbook" :is-first-property="true"
+ <PropertySelect :prop-model="addressbookModel" :value.sync="addressbook" :is-first-property="true"
:is-last-property="true" :property="{}" class="property--addressbooks property--last" />
<!-- Groups always visible -->
- <property-groups :prop-model="groupsModel" :value.sync="groups" :contact="contact"
+ <PropertyGroups :prop-model="groupsModel" :value.sync="groups" :contact="contact"
:is-read-only="isReadOnly" class="property--groups property--last" />
<!-- Last modified-->
- <property-rev v-if="contact.rev" :value="contact.rev" />
+ <PropertyRev v-if="contact.rev" :value="contact.rev" />
<!-- new property select -->
- <add-new-prop v-if="!isReadOnly" :contact="contact" />
+ <AddNewProp v-if="!isReadOnly" :contact="contact" />
</section>
</template>
</div>
diff --git a/src/components/ContactDetails/ContactDetailsAddNewProp.vue b/src/components/ContactDetails/ContactDetailsAddNewProp.vue
index fc8e824d..8cbe9841 100644
--- a/src/components/ContactDetails/ContactDetailsAddNewProp.vue
+++ b/src/components/ContactDetails/ContactDetailsAddNewProp.vue
@@ -23,7 +23,7 @@
<template>
<div class="grid-span-3 property property--last">
<!-- title -->
- <property-title :icon="'icon-add'" :readable-name="t('contacts', 'Add new property')" />
+ <PropertyTitle :icon="'icon-add'" :readable-name="t('contacts', 'Add new property')" />
<div class="property__row">
<div class="property__label" />
diff --git a/src/components/ContactsList.vue b/src/components/ContactsList.vue
index b59ab74a..a4dd589a 100644
--- a/src/components/ContactsList.vue
+++ b/src/components/ContactsList.vue
@@ -23,7 +23,7 @@
<template>
<!-- same uid can coexists between different addressbooks
so we need to use the addressbook id as key as well -->
- <recycle-scroller
+ <RecycleScroller
id="contacts-list"
ref="scroller"
:class="{'icon-loading': loading, showdetails: selectedContact}"
@@ -32,14 +32,14 @@
:item-size="itemHeight"
key-field="key">
<template v-slot="{ item, index }">
- <contacts-list-item
+ <ContactsListItem
v-if="contacts[item.key]"
:key="item.key"
:contact="contacts[item.key]"
:index="index"
@deleted="selectContact" />
</template>
- </recycle-scroller>
+ </RecycleScroller>
</template>
<script>
diff --git a/src/components/Properties/PropertyDateTime.vue b/src/components/Properties/PropertyDateTime.vue
index 670557dc..7f003aa9 100644
--- a/src/components/Properties/PropertyDateTime.vue
+++ b/src/components/Properties/PropertyDateTime.vue
@@ -23,7 +23,7 @@
<template>
<div v-if="propModel" :class="`grid-span-${gridLength}`" class="property">
<!-- title if first element -->
- <property-title v-if="isFirstProperty && propModel.icon" :icon="propModel.icon" :readable-name="propModel.readableName"
+ <PropertyTitle v-if="isFirstProperty && propModel.icon" :icon="propModel.icon" :readable-name="propModel.readableName"
:info="propModel.info" />
<div class="property__row">
@@ -47,7 +47,7 @@
<action :actions="actions" class="property__actions" />
<!-- Real input where the picker shows -->
- <datetime-picker :value="vcardTimeLocalValue.toJSDate()" :minute-step="10" :lang="lang"
+ <DatetimePicker :value="vcardTimeLocalValue.toJSDate()" :minute-step="10" :lang="lang"
:clearable="false" :first-day-of-week="firstDay" :type="inputType"
:readonly="isReadOnly" :format="dateFormat" class="property__value"
confirm @confirm="updateValue" />
diff --git a/src/components/Properties/PropertyMultipleText.vue b/src/components/Properties/PropertyMultipleText.vue
index 1ce64281..8294b7b1 100644
--- a/src/components/Properties/PropertyMultipleText.vue
+++ b/src/components/Properties/PropertyMultipleText.vue
@@ -23,7 +23,7 @@
<template>
<div v-if="propModel" :class="`grid-span-${gridLength}`" class="property">
<!-- title if first element -->
- <property-title v-if="isFirstProperty && propModel.icon" :icon="propModel.icon" :readable-name="propModel.readableName"
+ <PropertyTitle v-if="isFirstProperty && propModel.icon" :icon="propModel.icon" :readable-name="propModel.readableName"
:info="propModel.info" />
<div class="property__row">
diff --git a/src/components/Properties/PropertySelect.vue b/src/components/Properties/PropertySelect.vue
index 7ea41da1..47be44ec 100644
--- a/src/components/Properties/PropertySelect.vue
+++ b/src/components/Properties/PropertySelect.vue
@@ -23,7 +23,7 @@
<template>
<div v-if="propModel" :class="`grid-span-${gridLength}`" class="property">
<!-- title if first element -->
- <property-title v-if="isFirstProperty && propModel.icon" :icon="propModel.icon" :readable-name="propModel.readableName"
+ <PropertyTitle v-if="isFirstProperty && propModel.icon" :icon="propModel.icon" :readable-name="propModel.readableName"
:info="propModel.info" />
<div class="property__row">
diff --git a/src/components/Properties/PropertyText.vue b/src/components/Properties/PropertyText.vue
index c13baf1d..48745571 100644
--- a/src/components/Properties/PropertyText.vue
+++ b/src/components/Properties/PropertyText.vue
@@ -23,7 +23,7 @@
<template>
<div v-if="propModel" :class="`grid-span-${gridLength}`" class="property">
<!-- title if first element -->
- <property-title v-if="isFirstProperty && propModel.icon" :icon="propModel.icon" :readable-name="propModel.readableName"
+ <PropertyTitle v-if="isFirstProperty && propModel.icon" :icon="propModel.icon" :readable-name="propModel.readableName"
:info="propModel.info" />
<div class="property__row">
diff --git a/src/components/Settings/SettingsAddressbook.vue b/src/components/Settings/SettingsAddressbook.vue
index 5310209b..e831b387 100644
--- a/src/components/Settings/SettingsAddressbook.vue
+++ b/src/components/Settings/SettingsAddressbook.vue
@@ -42,7 +42,7 @@
</a>
<!-- sharing input -->
- <share-address-book v-if="shareOpen && !addressbook.readOnly" :addressbook="addressbook" />
+ <ShareAddressBook v-if="shareOpen && !addressbook.readOnly" :addressbook="addressbook" />
</li>
</template>