🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

passcode-validator-lib

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

passcode-validator-lib

----- This package contains a UI component for password validator built on top of [Angular Material library and Component Development Kit](https://material.angular.io/).

unpublished
latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Passcode validator Components for Angular applications

This package contains a UI component for password validator built on top of Angular Material library and Component Development Kit.

Angular version compatibility

versionsCompatible Angular versions
0.0.1latest

Setup

Prerequisite:

ng add @angular/material
npm i bootstrap

Install the package in your Angular project by using one of the commands below, according to the package manager chosen.

NPM:

npm install passcode-validator-lib

Import the NgModule from one of the sub-packages where the component is provided. For example:

MODULE :

import { PasscodeValidatorModule } from 'passcode-validator';
@NgModule({
	declarations: [],
	imports: [PasscodeValidatorModule]
})
export class MyModule {}

HTML :

<passcode-validator-lib></passcode-validator-lib>

Customization

<passcode-validator-lib
[matLabel] = '"Enter Password"'  // Default 'Password'
[matErrorWeak] = '"you have entered a weak password"' // Defaut 'Weak password'
[matErrorInvalid] =  '"you have entered a invalid password"' // Defaut 'Invalid password'
[matFormFieldAppearance] = '"outline" | "legacy" | "etc"' // Default 'legacy'
></passcode-validator-lib>

Setup

To incorporate components' theming with Angular Material, you need to configure a custom theme, following the theming guide on the Angular Material document site. In the global style SASS partial where the Material theme is configured, add the BUI theme mixin reference to activate theming.

You may also need to include the CSS of custom font definitions for Material Icon Font into the global stylesheets.

Keywords

Angular Angular Material UI library bootstrap

FAQs

Package last updated on 02 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts