Skip to content

Commit

Permalink
added missing emit declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
Severino committed Oct 17, 2023
1 parent 58d6470 commit 0136eaf
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 3 deletions.
10 changes: 9 additions & 1 deletion resources/js/components/AttributeList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,15 @@
default: false,
},
},
emits: ['dirty'],
emits: [
'add-element',
'delete-element',
'dirty',
'edit-element',
'metadata',
'remove-element',
'reorder-list',
],
setup(props, context) {
const { t } = useI18n();
const {
Expand Down
6 changes: 6 additions & 0 deletions resources/js/components/EntityTypeList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@
default: -1,
}
},
emits: [
'delete-element',
'duplicate-element',
'edit-element',
'select-element',
],
setup(props, context) {
const { t } = useI18n();
const {
Expand Down
4 changes: 4 additions & 0 deletions resources/js/components/OlMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,10 @@
default: null
}
},
emits:[
'feature-selected',
'update:link',
],
data() {
return {
id: `map-${Date.now()}`,
Expand Down
3 changes: 3 additions & 0 deletions resources/js/components/attribute/MultiChoice.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@
required: true,
},
},
emits: [
'change',
],
setup(props, context) {
const { t } = useI18n();
const {
Expand Down
7 changes: 6 additions & 1 deletion resources/js/components/map/InteractiveMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,12 @@
default: null,
},
},
emits: ['added', 'select'],
emits: [
'added',
'deleted',
'modified',
'select',
],
setup(props, context) {
const { t } = useI18n();
Expand Down
6 changes: 5 additions & 1 deletion resources/js/components/notification/NotificationBody.vue
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,11 @@
default: false
},
},
emits: ['read', 'delete'],
emits: [
'delete',
'posted',
'read',
],
setup(props, context) {
const { t } = useI18n();
const {
Expand Down

0 comments on commit 0136eaf

Please sign in to comment.