2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Password displays strength indicator for password fields.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://www.primevue.org/password/)
|
|
|
|
*
|
|
|
|
* @module passwordstyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum PasswordClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the root element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
root = 'p-password',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the pt input element
|
|
|
|
*/
|
2024-05-22 17:19:16 +00:00
|
|
|
pcInput = 'p-password-input',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the mask icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
maskIcon = 'p-password-mask-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the unmask icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
unmaskIcon = 'p-password-unmask-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the overlay element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
overlay = 'p-password-overlay',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the meter element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
meter = 'p-password-meter',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the meter label element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
meterLabel = 'p-password-meter-label',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the meter text element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
meterText = 'p-password-meter-text'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface PasswordStyle extends BaseStyle {}
|