diff --git a/src/components/accordion/Accordion.vue b/src/components/accordion/Accordion.vue
index 9726294180..f4d4d0b3da 100755
--- a/src/components/accordion/Accordion.vue
+++ b/src/components/accordion/Accordion.vue
@@ -25,6 +25,7 @@
import {UniqueComponentId} from 'primevue/utils';
export default {
+ name: 'Accordion',
emits: ['tab-close', 'tab-open', 'update:activeIndex'],
props: {
multiple: Boolean,
@@ -100,7 +101,7 @@ export default {
return ['p-accordion-toggle-icon pi', {'pi-chevron-right': !active, 'pi-chevron-down': active}];
},
isAccordionTab(child) {
- return child.type.name === 'accordiontab'
+ return child.type.name === 'AccordionTab'
}
},
computed: {
diff --git a/src/components/accordiontab/AccordionTab.vue b/src/components/accordiontab/AccordionTab.vue
index 3b49a54c4f..6bcdfa7ed4 100755
--- a/src/components/accordiontab/AccordionTab.vue
+++ b/src/components/accordiontab/AccordionTab.vue
@@ -4,10 +4,10 @@
\ No newline at end of file
+
diff --git a/src/components/autocomplete/AutoComplete.vue b/src/components/autocomplete/AutoComplete.vue
index c2cf548019..31a3582083 100755
--- a/src/components/autocomplete/AutoComplete.vue
+++ b/src/components/autocomplete/AutoComplete.vue
@@ -1,6 +1,6 @@
-
@@ -49,6 +49,7 @@ import Button from 'primevue/button';
import Ripple from 'primevue/ripple';
export default {
+ name: 'AutoComplete',
inheritAttrs: false,
emits: ['update:modelValue', 'item-select', 'item-unselect', 'dropdown-click', 'clear', 'complete'],
props: {
@@ -180,7 +181,7 @@ export default {
else {
this.overlay.style.minWidth = DomHandler.getOuterWidth(target) + 'px';
DomHandler.absolutePosition(this.overlay, target);
- }
+ }
},
bindOutsideClickListener() {
if (!this.outsideClickListener) {
@@ -475,7 +476,7 @@ export default {
if (this.forceSelection) {
let valid = false;
let inputValue = event.target.value.trim();
-
+
if (this.suggestions) {
for (let item of this.suggestions) {
let itemValue = this.field ? ObjectUtils.resolveFieldData(item, this.field) : item;
diff --git a/src/components/avatar/Avatar.vue b/src/components/avatar/Avatar.vue
index 43b98cece7..db55d2fd3b 100644
--- a/src/components/avatar/Avatar.vue
+++ b/src/components/avatar/Avatar.vue
@@ -10,6 +10,7 @@
\ No newline at end of file
+
diff --git a/src/components/breadcrumb/BreadcrumbItem.vue b/src/components/breadcrumb/BreadcrumbItem.vue
index 35b341aee5..e0815d316c 100755
--- a/src/components/breadcrumb/BreadcrumbItem.vue
+++ b/src/components/breadcrumb/BreadcrumbItem.vue
@@ -15,6 +15,7 @@
\ No newline at end of file
+
diff --git a/src/components/button/Button.vue b/src/components/button/Button.vue
index 04d4187e03..dfe862801b 100755
--- a/src/components/button/Button.vue
+++ b/src/components/button/Button.vue
@@ -13,6 +13,7 @@
import Ripple from 'primevue/ripple';
export default {
+ name: 'Button',
props: {
label: {
type: String
diff --git a/src/components/calendar/Calendar.vue b/src/components/calendar/Calendar.vue
index 6e3c4d948c..699e4e23ab 100755
--- a/src/components/calendar/Calendar.vue
+++ b/src/components/calendar/Calendar.vue
@@ -1,6 +1,6 @@
-
@@ -140,6 +140,7 @@ import Button from 'primevue/button';
import Ripple from 'primevue/ripple';
export default {
+ name: 'Calendar',
inheritAttrs: false,
emits: ['show', 'hide', 'month-change', 'year-change', 'date-select', 'update:modelValue', 'today-click', 'clear-click'],
props: {
@@ -548,7 +549,7 @@ export default {
this.unbindScrollListener();
this.unbindResizeListener();
this.$emit('hide');
-
+
if (this.mask) {
this.disableModality();
}
@@ -1155,7 +1156,7 @@ export default {
let newHour = this.currentHour + this.stepHour;
let newPM = this.pm;
-
+
if (this.hourFormat == '24')
newHour = (newHour >= 24) ? (newHour - 24) : newHour;
else if (this.hourFormat == '12') {
@@ -1165,7 +1166,7 @@ export default {
}
newHour = (newHour >= 13) ? (newHour - 12) : newHour;
}
-
+
if (this.validateTime(newHour, this.currentMinute, this.currentSecond, newPM)) {
this.currentHour = newHour;
@@ -1961,7 +1962,7 @@ export default {
if (this.overlay) {
DomHandler.getFocusableElements(this.overlay).forEach(el => el.tabIndex = '-1');
}
-
+
if (this.overlayVisible) {
this.overlayVisible = false;
}
diff --git a/src/components/card/Card.vue b/src/components/card/Card.vue
index 39239d93ff..4fdc3e1c93 100755
--- a/src/components/card/Card.vue
+++ b/src/components/card/Card.vue
@@ -17,11 +17,13 @@
\ No newline at end of file
+
diff --git a/src/components/carousel/Carousel.vue b/src/components/carousel/Carousel.vue
index 6be139ffe0..d2329fd074 100755
--- a/src/components/carousel/Carousel.vue
+++ b/src/components/carousel/Carousel.vue
@@ -58,6 +58,7 @@ import {DomHandler} from 'primevue/utils';
import Ripple from 'primevue/ripple';
export default {
+ name: 'Carousel',
emits: ['update:page'],
props: {
value: null,
@@ -496,8 +497,7 @@ export default {
},
directives: {
'ripple': Ripple
- },
- name: "Carousel"
+ }
}
diff --git a/src/components/cascadeselect/CascadeSelect.vue b/src/components/cascadeselect/CascadeSelect.vue
index 913f1506d3..6d5ab8dcb8 100644
--- a/src/components/cascadeselect/CascadeSelect.vue
+++ b/src/components/cascadeselect/CascadeSelect.vue
@@ -16,9 +16,9 @@
@@ -33,6 +33,7 @@ import OverlayEventBus from 'primevue/overlayeventbus';
import CascadeSelectSub from './CascadeSelectSub.vue';
export default {
+ name: 'CascadeSelect',
emits: ['update:modelValue','change','group-change', 'before-show','before-hide','hide','show'],
data() {
return {
@@ -73,7 +74,7 @@ export default {
this.scrollHandler.destroy();
this.scrollHandler = null;
}
-
+
if (this.overlay) {
ZIndexUtils.clear(this.overlay);
this.overlay = null;
@@ -121,7 +122,7 @@ export default {
}
}
- this.selectionPath = path;
+ this.selectionPath = path;
},
findModelOptionInGroup(option, level) {
if (this.isOptionGroup(option, level)) {
@@ -137,7 +138,7 @@ export default {
else if ((ObjectUtils.equals(this.modelValue, this.getOptionValue(option), this.dataKey))) {
return [option];
}
-
+
return null;
},
show() {
diff --git a/src/components/cascadeselect/CascadeSelectSub.vue b/src/components/cascadeselect/CascadeSelectSub.vue
index 815b9163db..25f119d314 100644
--- a/src/components/cascadeselect/CascadeSelectSub.vue
+++ b/src/components/cascadeselect/CascadeSelectSub.vue
@@ -9,7 +9,7 @@
-
@@ -23,8 +23,8 @@ import {DomHandler} from 'primevue/utils';
import Ripple from 'primevue/ripple';
export default {
+ name: 'CascadeSelectSub',
emits: ['option-select','optiongroup-select'],
- name: 'cascadeselect-sub',
props: {
selectionPath: Array,
level: Number,
@@ -179,4 +179,4 @@ export default {
'ripple': Ripple
}
}
-
\ No newline at end of file
+
diff --git a/src/components/chart/Chart.vue b/src/components/chart/Chart.vue
index d50f5667e7..fef11e4bcc 100755
--- a/src/components/chart/Chart.vue
+++ b/src/components/chart/Chart.vue
@@ -6,6 +6,7 @@
\ No newline at end of file
+
diff --git a/src/components/chip/Chip.vue b/src/components/chip/Chip.vue
index 024cd67c16..467441f5c5 100644
--- a/src/components/chip/Chip.vue
+++ b/src/components/chip/Chip.vue
@@ -4,7 +4,7 @@
{{label}}
-
@@ -12,6 +12,7 @@
\ No newline at end of file
+
diff --git a/src/components/columngroup/ColumnGroup.vue b/src/components/columngroup/ColumnGroup.vue
index 27948a767a..679c41fbaf 100755
--- a/src/components/columngroup/ColumnGroup.vue
+++ b/src/components/columngroup/ColumnGroup.vue
@@ -1,6 +1,6 @@
\ No newline at end of file
+
diff --git a/src/components/confirmdialog/ConfirmDialog.vue b/src/components/confirmdialog/ConfirmDialog.vue
index 97cb233fa1..ebfc9031e4 100644
--- a/src/components/confirmdialog/ConfirmDialog.vue
+++ b/src/components/confirmdialog/ConfirmDialog.vue
@@ -1,7 +1,7 @@
-
+
{{message}}
@@ -16,6 +16,7 @@ import Dialog from 'primevue/dialog';
import Button from 'primevue/button';
export default {
+ name: 'ConfirmDialog',
props: {
group: String,
breakpoints: {
@@ -110,4 +111,4 @@ export default {
'CDButton': Button
}
}
-
\ No newline at end of file
+
diff --git a/src/components/confirmpopup/ConfirmPopup.vue b/src/components/confirmpopup/ConfirmPopup.vue
index c3688539ed..4cc380c387 100644
--- a/src/components/confirmpopup/ConfirmPopup.vue
+++ b/src/components/confirmpopup/ConfirmPopup.vue
@@ -3,7 +3,7 @@