{"id":19312017,"url":"https://github.com/weblineindia/angular-password-input","last_synced_at":"2025-11-17T00:01:39.602Z","repository":{"id":57179425,"uuid":"280431018","full_name":"weblineindia/Angular-Password-Input","owner":"weblineindia","description":"An AngularJS based Password Input component, which provides input field to add password as a text / password property with validation. The password value is automatically validated on change event. You can also disable password field using disable props.","archived":false,"fork":false,"pushed_at":"2024-04-19T12:46:46.000Z","size":88,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-06T02:26:34.079Z","etag":null,"topics":["angular","angular-components","angular-libraries","angular-password","angular-password-input","angularjs","angularjs-components","angularjs-library","angularjs-password","password-component","password-input","password-validation","reusable-components"],"latest_commit_sha":null,"homepage":"https://www.weblineindia.com/software-development-resources.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weblineindia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-17T13:26:50.000Z","updated_at":"2024-04-19T08:58:25.000Z","dependencies_parsed_at":"2024-11-10T00:32:22.136Z","dependency_job_id":"42564afc-5c64-42c2-ae07-2292d1ef43a0","html_url":"https://github.com/weblineindia/Angular-Password-Input","commit_stats":null,"previous_names":["weblineindia/angularjs-password-input"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FAngular-Password-Input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FAngular-Password-Input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FAngular-Password-Input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FAngular-Password-Input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weblineindia","download_url":"https://codeload.github.com/weblineindia/Angular-Password-Input/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240415216,"owners_count":19797599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angular-components","angular-libraries","angular-password","angular-password-input","angularjs","angularjs-components","angularjs-library","angularjs-password","password-component","password-input","password-validation","reusable-components"],"created_at":"2024-11-10T00:32:13.263Z","updated_at":"2025-11-17T00:01:39.492Z","avatar_url":"https://github.com/weblineindia.png","language":"JavaScript","readme":"# Angular - Password Input Component\n\nThe Angular Password Input component provides a seamless way to integrate a password input field into your Angular applications. With this component, users can securely enter passwords with built-in validation and optional visibility toggling.\n\n## Table of contents\n\n- [Browser Support](#browser-support)\n- [Demo](#demo)\n- [Getting started](#getting-started)\n- [Usage](#usage)\n- [Available Props](#available-props)\n- [Methods](#methods)\n- [Want to Contribute?](#want-to-contribute)\n- [Collection of Components](#collection-of-components)\n- [Changelog](#changelog)\n- [License](#license)\n- [Keywords](#Keywords)\n\n## Browser Support\n\n| ![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) |\n| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |\n| 83.0 ✔                                                                                   | 77.0 ✔                                                                                      | 13.1.1 ✔                                                                                 | 83.0 ✔                                                                             | 11.9 ✔                                                                                                                       |\n\n## Demo\n\n[![](textNg.gif)](https://github.com/weblineindia/AngularJS-Text-Box/textNg.gif)\n\n## Getting started\n\nInstall the npm package:\n\n```bash\nnpm install angular-weblineindia-password-input\n#OR\nyarn add angular-weblineindia-password-input\n```\n\n## Usage\n\nUse the `\u003cangular-weblineindia-password-input\u003e` component:\n\nAdd in app.module.ts file\n\n```typescript\nimport { NgModule } from \"@angular/core\";\nimport { AngularWeblineindiaPasswordInputModule } from \"angular-weblineindia-password-input\";\n\n@NgModule({\n  imports: [AngularWeblineindiaPasswordInputModule],\n})\nexport class AppModule {}\n```\n\nAdd in app.component.ts file\n\n```typescript\nexport class AppComponent {\n  isInvalidPassword: boolean = false;\n  invalidMessage: string = \"\";\n\n  onFocus(event: any): void {}\n\n  onBlur(event: any): void {}\n\n  onChangeHandler(event: any): void {}\n\n  onKeyPressHandler(event: KeyboardEvent): void {}\n\n  onKeyDownHandler(event: KeyboardEvent): void {}\n\n  onKeyUpHandler(event: any): void {\n    console.log(\"event: \", event.target.value);\n    // Perform validation here based on the input value\n    // Update 'isInvalidPassword' and 'invalidMessage' accordingly\n  }\n}\n```\n\nAdd in app.component.html file\n\n```html\n\u003cangular-weblineindia-password-input [placeholder]=\"'Enter your password'\" [showPassword]=\"false\" [required]=\"true\" [disabled]=\"false\" [passwordInput]=\"'passwordInput'\" [inputClass]=\"'inputClass'\" [eyeButton]=\"'eyeButton'\" [errorClass]=\"'errorMessage'\" [isInvalidPassword]=\"isInvalidPassword\" [invalidMessage]=\"invalidMessage\" (focus)=\"onFocus($event)\" (blur)=\"onBlur($event)\" (keyPress)=\"onKeyPressHandler($event)\" (keyDown)=\"onKeyDownHandler($event)\" (keyUp)=\"onKeyUpHandler($event)\"\u003e\u003c/angular-weblineindia-password-input\u003e\n```\n\nAdd in app.component.css file\n\n```typescript\n::ng-deep .passwordInput {\n  /* Add your custom styles here */\n  display: flex;\n  align-items: center;\n  border: 1px solid black;\n  width: 200px;\n}\n\n::ng-deep .inputClass {\n  /* Add your custom styles here */\n  border: none;\n}\n\n::ng-deep .eyeButton {\n  /* Add your custom styles here */\n}\n\n::ng-deep .errorMessage {\n  /* Add your custom styles here */\n}\n\n\n```\n\n## Available Props\n\n| Prop              | Type    | default | Description                                            |\n| ----------------- | ------- | ------- | ------------------------------------------------------ |\n| placeholder       | String  |         | The input field will get this placeholder text         |\n| showPassword      | boolean | false   | Indicates whether to show the password in plain text   |\n| required          | boolean | false   | If true, makes the input field mandatory.              |\n| disabled          | boolean | false   | If true, disables the input field.                     |\n| passwordInput     | string  |         | css class applied for inputbox and icon.               |\n| inputClass        | string  |         | CSS class applied for pasword input.                   |\n| eyeButton         | string  |         | CSS class applied eye icon                             |\n| errorClass        | string  |         | CSS class applied when the password format is invalid. |\n| isInvalidPassword | boolean | false   | Indicates if the password is invalid                   |\n| invalidMessage    | String  |         | Message to display when the password is invalid        |\n\n## Methods\n\n| Name     | Description                                                      |\n| -------- | ---------------------------------------------------------------- |\n| focus    | Gets triggered when the autocomplete input field receives focus. |\n| blur     | Gets triggered when the autocomplete input field loses focus.    |\n| KeyPress | Gets triggered when a key gets pressed.                          |\n| KeyDown  | Gets triggered when a key gets down.                             |\n| KeyUp    | Gets triggered when a key gets up.                               |\n\n## Want to Contribute?\n\n- Created something awesome, made this code better, added some functionality, or whatever (this is the hardest part).\n- [Fork it](http://help.github.com/forking/).\n- Create new branch to contribute your changes.\n- Commit all your changes to your branch.\n- Submit a [pull request](http://help.github.com/pull-requests/).\n\n---\n\n## Collection of Components\n\nWe have built many other components and free resources for software development in various programming languages. Kindly click here to view our [Free Resources for Software Development](https://www.weblineindia.com/software-development-resources.html)\n\n---\n\n## Changelog\n\nDetailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).\n\n## License\n\n[MIT](LICENSE)\n\n[mit]: https://github.com/weblineindia/AngularJS-Text-Box/blob/master/LICENSE\n\n## Keywords\n\nangular-weblineindia-text-box, textbox, input, angular, angular-component, textbox-component, textarea, text-box-input\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Fangular-password-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweblineindia%2Fangular-password-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Fangular-password-input/lists"}