{"__symbolic":"module","version":4,"metadata":{"Feedbacks":{"__symbolic":"interface"},"PasswordStrengthCheckerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"password-strength-checker","template":"<div class=\"wrapper\">\n  <div class=\"wrapper__strength-bar\">\n    <div class=\"content\" [style.width]=\"getBarColorStyle(strengthLevel).width\"\n         [style.background]=\"getBarColorStyle(strengthLevel).color\">\n    </div>\n  </div>\n  <div *ngIf=\"password.length && feedbacks\" class=\"wrapper__text\">\n   <div class=\"icon\" [style.background]=\"getBarColorStyle(strengthLevel).color\">\n     <div [attr.data-icon]=\"strengthLevel\"></div>\n   </div>\n    <span [style.color]=\"getBarColorStyle(strengthLevel).color\">{{feedbackValue}}</span>\n  </div>\n</div>\n","styles":[".wrapper{position:relative;margin-top:.5rem}.wrapper__strength-bar{width:auto;height:.4rem;border-radius:5px;background:#E7E7E7}.wrapper__strength-bar .content{height:inherit;border-radius:inherit;background:transparent;width:0;transition:width 1s ease-out,background .5s}.wrapper__text{display:flex;margin-top:.6rem;align-items:center}.wrapper__text .icon{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAABHNCSVQICAgIfAhkiAAAAEJJREFUGFdj/P///wYGBoYGRkbGCwxI4P///wZgcSgDpCgApghFDKQJWQBqCFwDI8xUJEUgIbhpxCnAawVBRxLyJgBQEDm9wH8XiQAAAABJRU5ErkJggg==);width:20px;height:20px;border-radius:50%}.wrapper__text .icon div[data-icon=low],.wrapper__text .icon div[data-icon=medium]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAABHNCSVQICAgIfAhkiAAAAEJJREFUGFdj/P///wYGBoYGRkbGCwxI4P///wZgcSgDpCgApghFDKQJWQBqCFwDI8xUJEUgIbhpxCnAawVBRxLyJgBQEDm9wH8XiQAAAABJRU5ErkJggg==) no-repeat center;height:inherit}.wrapper__text .icon div[data-icon=good]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAICAYAAADN5B7xAAAABHNCSVQICAgIfAhkiAAAALBJREFUGFeN0KEvwAEUxPHPGcVGFzSKTRIVI0g0WZD8Cf4Tm0k2ExRmMwFVlnTJJKJy9jMMM3PpbW/f9+4u/qG2wR7uhuFPtR3FITawk7YjmEjy9JNsO4ZjrGM7ye4AHGEOK0keP6C24zjDEjaTHAy7AVjEOR6wnOS+7SQusDBYSXLycegtQ9t5XOPl/f0+ZrGW5PKr1c/QbWdwhWk8YzXJzc9c31pqO4VTbCW5/a2+V79MOO/t2fnyAAAAAElFTkSuQmCC) no-repeat center;height:inherit}.wrapper__text span{margin-left:.5rem}\n"]}]}],"members":{"password":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"requiredLength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"barColors":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"regexPattern":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"feedbacks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"checkPasswordStrength":[{"__symbolic":"method"}],"matchPattern":[{"__symbolic":"method"}],"getBarColorStyle":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"PasswordStrengthCheckerModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"PasswordStrengthCheckerComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":11,"character":8}],"exports":[{"__symbolic":"reference","name":"PasswordStrengthCheckerComponent"}]}]}],"members":{}}},"origins":{"Feedbacks":"./lib/password-strength-checker.component","PasswordStrengthCheckerComponent":"./lib/password-strength-checker.component","PasswordStrengthCheckerModule":"./lib/password-strength-checker.module"},"importAs":"@diama/password-strength-checker"}