Typo fixes

pull/5806/head
tugcekucukoglu 2024-05-22 20:19:16 +03:00
parent 161916b41e
commit 9ba3cb8c61
5 changed files with 6 additions and 6 deletions

View File

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

View File

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

View File

@ -17,7 +17,7 @@ export enum PasswordClasses {
/** /**
* Class name of the pt input element * Class name of the pt input element
*/ */
ptInput = 'p-password-input', pcInput = 'p-password-input',
/** /**
* Class name of the mask icon element * Class name of the mask icon element
*/ */

View File

@ -83,7 +83,7 @@ const classes = {
'p-inputwrapper-focus': instance.focused 'p-inputwrapper-focus': instance.focused
} }
], ],
ptInput: 'p-password-input', pcInput: 'p-password-input',
maskIcon: 'p-password-toggle-mask-icon p-password-mask-icon', maskIcon: 'p-password-toggle-mask-icon p-password-mask-icon',
unmaskIcon: 'p-password-toggle-mask-icon p-password-unmask-icon', unmaskIcon: 'p-password-toggle-mask-icon p-password-unmask-icon',
overlay: 'p-password-overlay p-component', overlay: 'p-password-overlay p-component',

View File

@ -55438,7 +55438,7 @@
"description": "Used to pass attributes to the root's DOM element." "description": "Used to pass attributes to the root's DOM element."
}, },
{ {
"name": "ptInput", "name": "pcInput",
"optional": true, "optional": true,
"readonly": false, "readonly": false,
"type": "InputTextPassThroughOptions<PasswordSharedPassThroughMethodOptions>", "type": "InputTextPassThroughOptions<PasswordSharedPassThroughMethodOptions>",