diff --git a/src/components/AppContent/CircleContent.vue b/src/components/AppContent/CircleContent.vue index 67540d2952..b02065bc1a 100644 --- a/src/components/AppContent/CircleContent.vue +++ b/src/components/AppContent/CircleContent.vue @@ -54,7 +54,7 @@ export default { props: { loading: { type: Boolean, - default: true, + required: true, }, }, diff --git a/src/components/AppContent/ContactsContent.vue b/src/components/AppContent/ContactsContent.vue index ea7788e347..7c34edcb2d 100644 --- a/src/components/AppContent/ContactsContent.vue +++ b/src/components/AppContent/ContactsContent.vue @@ -52,7 +52,7 @@ - + @@ -88,7 +88,7 @@ export default { props: { loading: { type: Boolean, - default: true, + required: true, }, contactsList: { @@ -97,6 +97,8 @@ export default { }, }, + emits: ['new-contact'], + data() { return { searchQuery: '', diff --git a/src/components/AppNavigation/ContactsSettings.vue b/src/components/AppNavigation/ContactsSettings.vue index 5e2099613f..c1186de1c9 100644 --- a/src/components/AppNavigation/ContactsSettings.vue +++ b/src/components/AppNavigation/ContactsSettings.vue @@ -74,6 +74,8 @@ export default { }, }, + emits: ['update:open', 'clicked', 'file-loaded'], + data() { return { allowSocialSync: loadState('contacts', 'allowSocialSync') !== 'no', diff --git a/src/components/AppNavigation/GroupNavigationItem.vue b/src/components/AppNavigation/GroupNavigationItem.vue index 162728691b..219c16e0b4 100644 --- a/src/components/AppNavigation/GroupNavigationItem.vue +++ b/src/components/AppNavigation/GroupNavigationItem.vue @@ -130,6 +130,8 @@ export default { }, }, + emits: ['updateRouteState'], + data() { return { newGroupName: '', @@ -249,7 +251,7 @@ export default { * Open mailto: for contacts in a group * * @param {object} group of contacts to be emailed - * @param {string} mode + * @param {string} mode the recipient header to use (to, cc, bcc) */ emailGroup(group, mode = 'to') { const emails = [] diff --git a/src/components/AppNavigation/Settings/SettingsImportContacts.vue b/src/components/AppNavigation/Settings/SettingsImportContacts.vue index fd6f440d46..fa9c420de7 100644 --- a/src/components/AppNavigation/Settings/SettingsImportContacts.vue +++ b/src/components/AppNavigation/Settings/SettingsImportContacts.vue @@ -14,7 +14,6 @@ diff --git a/src/components/ChartTemplate.vue b/src/components/ChartTemplate.vue index 08d8d719ae..37c10aeeb7 100644 --- a/src/components/ChartTemplate.vue +++ b/src/components/ChartTemplate.vue @@ -56,11 +56,6 @@ export default { type: Object, default: () => {}, }, - - onAvatarClick: { - type: Function, - default: () => {}, - }, }, computed: { diff --git a/src/components/CircleDetails.vue b/src/components/CircleDetails.vue index fc551aaed3..050605fb2d 100644 --- a/src/components/CircleDetails.vue +++ b/src/components/CircleDetails.vue @@ -680,10 +680,10 @@ export default { }, /** - * Autocomplete @mentions on the description + * Autocomplete `@mentions` on the description * * @param {string} search the search term - * @param {Function} callback callback to be called with results array + * @param {(results: object[]) => void} callback callback to be called with results array */ onAutocomplete(search, callback) { // TODO: implement autocompletion. Disabled for now diff --git a/src/components/ConfirmationDialog.vue b/src/components/ConfirmationDialog.vue index dc5af6ce9f..95d3ae3ddb 100644 --- a/src/components/ConfirmationDialog.vue +++ b/src/components/ConfirmationDialog.vue @@ -57,7 +57,7 @@ export default { disabled: { type: Boolean, - default: undefined, + default: false, }, }, diff --git a/src/components/ContactDetails.vue b/src/components/ContactDetails.vue index f246c957e5..3c9e189e64 100644 --- a/src/components/ContactDetails.vue +++ b/src/components/ContactDetails.vue @@ -51,6 +51,7 @@