pull/5136/head
mertsincan 2024-01-23 18:06:31 +00:00
parent 6862264318
commit 8f7ee3ac33
17 changed files with 21 additions and 42 deletions

View File

@ -79,7 +79,7 @@ export default {
this.d_activeIndex = newValue;
}
},
beforeMount() {
mounted() {
this.id = this.id || UniqueComponentId();
},
methods: {

View File

@ -223,10 +223,8 @@ export default {
this.autoUpdateModel();
}
},
beforeMount() {
this.id = this.id || UniqueComponentId();
},
mounted() {
this.id = this.id || UniqueComponentId();
this.autoUpdateModel();
},
updated() {

View File

@ -115,10 +115,8 @@ export default {
this.autoUpdateModel();
}
},
beforeMount() {
this.id = this.id || UniqueComponentId();
},
mounted() {
this.id = this.id || UniqueComponentId();
this.autoUpdateModel();
},
beforeUnmount() {

View File

@ -76,10 +76,9 @@ export default {
}
}
},
beforeMount() {
this.id = this.id || UniqueComponentId();
},
mounted() {
this.id = this.id || UniqueComponentId();
if (this.global) {
this.bindDocumentContextMenuListener();
}

View File

@ -110,7 +110,7 @@ export default {
this.id = newValue || UniqueComponentId();
}
},
beforeMount() {
mounted() {
this.id = this.id || UniqueComponentId();
},
methods: {

View File

@ -215,10 +215,8 @@ export default {
this.autoUpdateModel();
}
},
beforeMount() {
this.id = this.id || UniqueComponentId();
},
mounted() {
this.id = this.id || UniqueComponentId();
this.autoUpdateModel();
this.bindLabelClickListener();
},

View File

@ -155,10 +155,8 @@ export default {
this.autoUpdateModel();
}
},
beforeMount() {
this.id = this.id || UniqueComponentId();
},
mounted() {
this.id = this.id || UniqueComponentId();
this.autoUpdateModel();
},
methods: {

View File

@ -98,10 +98,8 @@ export default {
}
}
},
beforeMount() {
this.id = this.id || UniqueComponentId();
},
mounted() {
this.id = this.id || UniqueComponentId();
this.bindMatchMediaListener();
},
beforeUnmount() {

View File

@ -73,10 +73,9 @@ export default {
resizeListener: null,
container: null,
list: null,
beforeMount() {
this.id = this.id || UniqueComponentId();
},
mounted() {
this.id = this.id || UniqueComponentId();
if (!this.popup) {
this.bindResizeListener();
this.bindOutsideClickListener();

View File

@ -93,10 +93,8 @@ export default {
outsideClickListener: null,
container: null,
menubar: null,
beforeMount() {
this.id = this.id || UniqueComponentId();
},
mounted() {
this.id = this.id || UniqueComponentId();
this.bindMatchMediaListener();
},
beforeUnmount() {

View File

@ -241,10 +241,8 @@ export default {
this.autoUpdateModel();
}
},
beforeMount() {
this.id = this.id || UniqueComponentId();
},
mounted() {
this.id = this.id || UniqueComponentId();
this.autoUpdateModel();
},
beforeUnmount() {

View File

@ -116,10 +116,9 @@ export default {
this.reorderDirection = null;
}
},
beforeMount() {
this.id = this.id || UniqueComponentId();
},
mounted() {
this.id = this.id || UniqueComponentId();
if (this.responsive) {
this.createStyle();
}

View File

@ -76,7 +76,7 @@ export default {
this.id = newValue || UniqueComponentId();
}
},
beforeMount() {
mounted() {
this.id = this.id || UniqueComponentId();
},
methods: {

View File

@ -276,7 +276,6 @@ export default {
this.destroyStyle();
this.destroyMedia();
},
beforeMount() {},
mounted() {
this.id = this.id || UniqueComponentId();

View File

@ -84,10 +84,9 @@ export default {
this.d_visible = newValue;
}
},
beforeMount() {
this.id = this.id || UniqueComponentId();
},
mounted() {
this.id = this.id || UniqueComponentId();
if (this.type !== 'linear') {
const button = DomHandler.findSingle(this.container, '[data-pc-name="button"]');
const firstItem = DomHandler.findSingle(this.list, '[data-pc-section="menuitem"]');
@ -105,7 +104,7 @@ export default {
this.bindDocumentClickListener();
}
},
beforeMount() {
beforeUnmount() {
this.unbindDocumentClickListener();
},
methods: {

View File

@ -121,10 +121,8 @@ export default {
this.scrollInView({ index: newValue });
}
},
beforeMount() {
this.id = this.id || UniqueComponentId();
},
mounted() {
this.id = this.id || UniqueComponentId();
this.updateInkBar();
this.scrollable && this.updateButtonState();
},

View File

@ -85,7 +85,7 @@ export default {
}
}
},
beforeMount() {
mounted() {
this.id = this.id || UniqueComponentId();
},
beforeUnmount() {