This commit is contained in:
tugcekucukoglu 2024-05-06 18:23:01 +03:00
parent 3cc675e50f
commit e1367fd494
89 changed files with 376 additions and 339 deletions

View file

@ -74,7 +74,7 @@ export interface PasswordPassThroughOptions {
* Used to pass attributes to the InputText component.
* @see {@link InputTextPassThroughOptions}
*/
input?: InputTextPassThroughOptions<PasswordSharedPassThroughMethodOptions>;
ptInput?: InputTextPassThroughOptions<PasswordSharedPassThroughMethodOptions>;
/**
* Used to pass attributes to the mask icon's DOM element.
*/

View file

@ -4,7 +4,7 @@
ref="input"
:id="inputId"
:type="inputType"
:class="[cx('input'), inputClass]"
:class="[cx('ptInput'), inputClass]"
:style="inputStyle"
:value="modelValue"
:aria-labelledby="ariaLabelledby"
@ -23,7 +23,7 @@
@keyup="onKeyUp"
@invalid="onInvalid"
v-bind="inputProps"
:pt="ptm('input')"
:pt="ptm('ptInput')"
:unstyled="unstyled"
/>
<!-- TODO: hide* and show* deprecated since v4.0-->

View file

@ -81,7 +81,7 @@ const classes = {
'p-inputwrapper-focus': instance.focused
}
],
input: 'p-password-input',
ptInput: 'p-password-input',
maskIcon: 'p-password-toggle-mask-icon p-password-mask-icon',
unmaskIcon: 'p-password-toggle-mask-icon p-password-unmask-icon',
overlay: ({ instance }) => [