mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #5681
This commit is contained in:
parent
3cc675e50f
commit
e1367fd494
89 changed files with 376 additions and 339 deletions
2
components/lib/password/Password.d.ts
vendored
2
components/lib/password/Password.d.ts
vendored
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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-->
|
||||
|
|
|
@ -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 }) => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue