pull/5136/head
Cagatay Civici 2024-01-23 23:21:18 +03:00
commit 7d14c7ef30
25 changed files with 54 additions and 43 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

@ -17,7 +17,7 @@
>
<template #icon>
<slot name="icon" :visible="d_visible">
<component v-if="d_visible && !!hideIcon" :is="hideIcon ? 'span' : 'PlusIcon'" :class="cx('buttonIcon')" v-bind="ptm('button')['icon']" data-pc-section="icon" />
<component v-if="d_visible && !!hideIcon" :is="hideIcon ? 'span' : 'PlusIcon'" :class="[hideIcon, cx('buttonIcon')]" v-bind="ptm('button')['icon']" data-pc-section="icon" />
<component v-else :is="showIcon ? 'span' : 'PlusIcon'" :class="d_visible && !!hideIcon ? hideIcon : showIcon" v-bind="ptm('button')['icon']" data-pc-section="icon" />
</slot>
</template>
@ -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() {

View File

@ -6893,6 +6893,10 @@
background: rgba(255, 255, 255, 0.12);
}
.p-metergroup .p-metergroup-label-list .p-metergroup-label-list-item {
line-height: 1rem;
}
.p-multiselect .p-multiselect-label, .p-multiselect .p-multiselect-trigger {
background-image: none;
background: transparent;

View File

@ -6893,6 +6893,10 @@
background: rgba(255, 255, 255, 0.12);
}
.p-metergroup .p-metergroup-label-list .p-metergroup-label-list-item {
line-height: 1rem;
}
.p-multiselect .p-multiselect-label, .p-multiselect .p-multiselect-trigger {
background-image: none;
background: transparent;

View File

@ -6893,6 +6893,10 @@
background: rgba(0, 0, 0, 0.12);
}
.p-metergroup .p-metergroup-label-list .p-metergroup-label-list-item {
line-height: 1rem;
}
.p-multiselect .p-multiselect-label, .p-multiselect .p-multiselect-trigger {
background-image: none;
background: transparent;

View File

@ -6893,6 +6893,10 @@
background: rgba(0, 0, 0, 0.12);
}
.p-metergroup .p-metergroup-label-list .p-metergroup-label-list-item {
line-height: 1rem;
}
.p-multiselect .p-multiselect-label, .p-multiselect .p-multiselect-trigger {
background-image: none;
background: transparent;

View File

@ -6893,6 +6893,10 @@
background: rgba(255, 255, 255, 0.12);
}
.p-metergroup .p-metergroup-label-list .p-metergroup-label-list-item {
line-height: 1rem;
}
.p-multiselect .p-multiselect-label, .p-multiselect .p-multiselect-trigger {
background-image: none;
background: transparent;

View File

@ -6893,6 +6893,10 @@
background: rgba(255, 255, 255, 0.12);
}
.p-metergroup .p-metergroup-label-list .p-metergroup-label-list-item {
line-height: 1rem;
}
.p-multiselect .p-multiselect-label, .p-multiselect .p-multiselect-trigger {
background-image: none;
background: transparent;

View File

@ -6893,6 +6893,10 @@
background: rgba(0, 0, 0, 0.12);
}
.p-metergroup .p-metergroup-label-list .p-metergroup-label-list-item {
line-height: 1rem;
}
.p-multiselect .p-multiselect-label, .p-multiselect .p-multiselect-trigger {
background-image: none;
background: transparent;

View File

@ -6893,6 +6893,10 @@
background: rgba(0, 0, 0, 0.12);
}
.p-metergroup .p-metergroup-label-list .p-metergroup-label-list-item {
line-height: 1rem;
}
.p-multiselect .p-multiselect-label, .p-multiselect .p-multiselect-trigger {
background-image: none;
background: transparent;