Refactor #2801 - Password

pull/2809/head
Tuğçe Küçükoğlu 2022-07-27 13:22:10 +03:00
parent 0eddc7f2eb
commit 60bee46015
1 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@
</span>
<Portal :appendTo="appendTo">
<transition name="p-connected-overlay" @enter="onOverlayEnter" @leave="onOverlayLeave" @after-leave="onOverlayAfterLeave">
<div :ref="overlayRef" :class="panelStyleClass" v-if="overlayVisible" @click="onOverlayClick">
<div :ref="overlayRef" :class="panelStyleClass" :style="panelStyle" v-if="overlayVisible" @click="onOverlayClick" v-bind="panelProps">
<slot name="header"></slot>
<slot name="content">
<div class="p-password-meter">
@ -33,10 +33,6 @@ export default {
emits: ['update:modelValue', 'change', 'focus', 'blur'],
props: {
modelValue: String,
inputId: {
type: String,
default: null
},
promptLabel: {
type: String,
default: null
@ -81,14 +77,18 @@ export default {
type: String,
default: 'pi pi-eye'
},
panelClass: String,
disabled: {
type: Boolean,
default: false
},
inputId: null,
inputClass: null,
inputStyle: null,
inputProps: null,
panelClass: String,
panelStyle: String,
panelProps: null,
'aria-labelledby': {
type: String,
default: null