{"id":16003123,"url":"https://github.com/mauriciolauffer/openui5-password","last_synced_at":"2025-03-18T01:31:45.828Z","repository":{"id":21974170,"uuid":"94622120","full_name":"mauriciolauffer/openui5-password","owner":"mauriciolauffer","description":"An OpenUI5 Control which checks password strength and validates it against predefined rules","archived":false,"fork":false,"pushed_at":"2023-12-21T07:20:04.000Z","size":1320,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T06:19:36.885Z","etag":null,"topics":["javascript","openui5","openui5-framework","openui5-password","password","plugin","sap","sapui5","ui5"],"latest_commit_sha":null,"homepage":"https://mauriciolauffer.github.io/openui5-password/demo/webapp/index.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mauriciolauffer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"mauriciolauffer"}},"created_at":"2017-06-17T12:22:39.000Z","updated_at":"2024-04-19T15:09:24.000Z","dependencies_parsed_at":"2024-10-27T17:12:22.028Z","dependency_job_id":"3c9cd71c-9de7-438b-b1e3-c43340f0295a","html_url":"https://github.com/mauriciolauffer/openui5-password","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauriciolauffer%2Fopenui5-password","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauriciolauffer%2Fopenui5-password/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauriciolauffer%2Fopenui5-password/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauriciolauffer%2Fopenui5-password/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mauriciolauffer","download_url":"https://codeload.github.com/mauriciolauffer/openui5-password/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243894447,"owners_count":20365032,"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":["javascript","openui5","openui5-framework","openui5-password","password","plugin","sap","sapui5","ui5"],"created_at":"2024-10-08T10:06:24.879Z","updated_at":"2025-03-18T01:31:45.412Z","avatar_url":"https://github.com/mauriciolauffer.png","language":"JavaScript","funding_links":["https://github.com/sponsors/mauriciolauffer"],"categories":[],"sub_categories":[],"readme":"# openui5-password\n\n[![npm](https://img.shields.io/npm/v/openui5-password)](https://www.npmjs.com/package/openui5-password) [![test](https://github.com/mauriciolauffer/openui5-password/actions/workflows/test.yml/badge.svg)](https://github.com/mauriciolauffer/openui5-password/actions/workflows/test.yml)\n\nAn OpenUI5 Control which checks password strength and validates it against pre-defined rules.\nThe control is an input with password type and parameters to enable validation rules.\n\n## Demo\n\nYou can check out a live demo here:\n\n\u003chttps://mauriciolauffer.github.io/openui5-password/demo/webapp/index.html\u003e\n\n![Demo Screenshot](./openui5-password.png)\n\n## Project Structure\n\n* demo - Library's live demo\n* dist - Distribution folder which contains the library ready to use\n* src  - Development folder\n* test - Testing framework for the library\n\n## Getting started\n\n### Installation\n\nInstall openui5-password as an npm module\n\n```sh\n$ npm install openui5-password\n```\n\n### Configure manifest.json\n\nAdd the library to *sap.ui5/dependencies/libs* and set its path in *sap.ui5/resourceRoots* in your manifest.json file, as follows:\n\n```json\n{\n  \"sap.ui5\": {\n    \"dependencies\": {\n      \"libs\": {\n        \"openui5.password\": {}\n      }\n    },\n    \"resourceRoots\": {\n      \"openui5.password\": \"./FOLDER_WHERE_YOU_PLACED_THE_LIBRARY/openui5/password/\"\n    }\n  }\n}\n```\n\n### How to use\n\nImport openui5-password to your UI5 controller using *sap.ui.require*:\n\n```javascript\nsap.ui.require([\n  'openui5/password/Password'\n], function (Password) {\n  const passwordInput = new Password({\n    requireNumbers: true,\n    requireLetters: true,\n    requireSymbols: true,\n    requireLowercase: true,\n    requireUppercase: true,\n    minLength: 5,\n    maxLength: 42\n  });\n});\n```\n\n## Config Parameters\n\n| Name | Type | Default| Description\n| :---- | :------------------- | :---- | :---------  |\n| maxLength | integer | 0 | Maximum number of characters. Value '0' means the feature is switched off.\n| minLength | integer | 0 | Minimum number of characters. Value '0' means the feature is switched off.\n| requireNumbers | boolean | true | Indicates that input must contain numbers\n| requireSymbols | boolean | true | Indicates that input must contain symbols\n| requireLetters | boolean | true | Indicates that input must contain letters\n| requireLowercase | boolean | true | Indicates that input must contain lowercase letters\n| requireUppercase | boolean | true | Indicates that input must contain uppercase letters\n| score | integer | 0 | The score is a number which indicates the password strength.\n\n## Author\n\nMauricio Lauffer\n\n* LinkedIn: [https://www.linkedin.com/in/mauriciolauffer](https://www.linkedin.com/in/mauriciolauffer)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmauriciolauffer%2Fopenui5-password","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmauriciolauffer%2Fopenui5-password","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmauriciolauffer%2Fopenui5-password/lists"}