mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +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/inputotp/InputOtp.d.ts
vendored
2
components/lib/inputotp/InputOtp.d.ts
vendored
|
@ -68,7 +68,7 @@ export interface InputOtpPassThroughOptions {
|
|||
* Used to pass attributes to the InputText component.
|
||||
* @see {@link InputTextPassThroughOptions}
|
||||
*/
|
||||
input?: InputTextPassThroughOptions<InputOtpSharedPassThroughMethodOptions>;
|
||||
pcInput?: InputTextPassThroughOptions<InputOtpSharedPassThroughMethodOptions>;
|
||||
/**
|
||||
* Used to manage all lifecycle hooks.
|
||||
* @see {@link BaseComponent.ComponentHooks}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<OtpInputText
|
||||
:value="tokens[i - 1]"
|
||||
:type="inputType"
|
||||
:class="cx('input')"
|
||||
:class="cx('pcInput')"
|
||||
:inputmode="inputMode"
|
||||
:variant="variant"
|
||||
:readonly="readonly"
|
||||
|
@ -18,7 +18,7 @@
|
|||
@blur="onBlur($event)"
|
||||
@paste="onPaste($event)"
|
||||
@keydown="onKeyDown($event)"
|
||||
:pt="ptm('input')"
|
||||
:pt="ptm('pcInput')"
|
||||
/>
|
||||
</slot>
|
||||
</template>
|
||||
|
|
|
@ -15,7 +15,7 @@ const theme = ({ dt }) => `
|
|||
|
||||
const classes = {
|
||||
root: 'p-inputotp p-component',
|
||||
input: 'p-inputotp-input'
|
||||
pcInput: 'p-inputotp-input'
|
||||
};
|
||||
|
||||
export default BaseStyle.extend({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue