@klippa/ngx-enhancy-forms 9.0.0 → 9.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/klippa-ngx-enhancy-forms.umd.js +2 -4
- package/bundles/klippa-ngx-enhancy-forms.umd.js.map +1 -1
- package/bundles/klippa-ngx-enhancy-forms.umd.min.js +1 -1
- package/bundles/klippa-ngx-enhancy-forms.umd.min.js.map +1 -1
- package/esm2015/lib/elements/password-field/password-field.component.js +3 -5
- package/fesm2015/klippa-ngx-enhancy-forms.js +2 -4
- package/fesm2015/klippa-ngx-enhancy-forms.js.map +1 -1
- package/klippa-ngx-enhancy-forms.metadata.json +1 -1
- package/lib/elements/password-field/password-field.component.d.ts +0 -1
- package/package.json +1 -1
|
@@ -964,7 +964,6 @@
|
|
|
964
964
|
function PasswordFieldComponent() {
|
|
965
965
|
var _this = _super.apply(this, __spread(arguments)) || this;
|
|
966
966
|
_this.placeholder = 'Password';
|
|
967
|
-
_this.isPasswordConfirm = false;
|
|
968
967
|
return _this;
|
|
969
968
|
}
|
|
970
969
|
return PasswordFieldComponent;
|
|
@@ -972,14 +971,13 @@
|
|
|
972
971
|
PasswordFieldComponent.decorators = [
|
|
973
972
|
{ type: core.Component, args: [{
|
|
974
973
|
selector: 'klp-form-password-field',
|
|
975
|
-
template: "<input\n\ttype=\"password\"\n\tclass=\"form-control\"\n [ngClass]=\"{showErrors: isInErrorState()}\"\n\t[(ngModel)]=\"innerValue\"\n\t(input)=\"setInnerValueAndNotify($event.target.value)\"\n\t[placeholder]=\"
|
|
974
|
+
template: "<input\n\ttype=\"password\"\n\tclass=\"form-control\"\n [ngClass]=\"{showErrors: isInErrorState()}\"\n\t[(ngModel)]=\"innerValue\"\n\t(input)=\"setInnerValueAndNotify($event.target.value)\"\n\t[placeholder]=\"placeholder\"\n\t(blur)=\"touch()\"\n\t[disabled]=\"disabled\"\n/>\n",
|
|
976
975
|
providers: [{ provide: forms.NG_VALUE_ACCESSOR, useExisting: PasswordFieldComponent, multi: true }],
|
|
977
976
|
styles: [":host,input{display:block}input{-moz-transition:all .2s ease-in;-ms-transition:all .2s ease-in;-o-transition:all .2s ease-in;-webkit-transition:all .2s ease-in;border:1px solid #e6ecf5;border-radius:2px;box-shadow:none;color:#888da8;font-size:14px;height:42px;outline:none;padding:.375rem .625rem;transition:all .2s ease-in;width:100%}input::-webkit-input-placeholder{color:#adadad}input:-moz-placeholder,input::-moz-placeholder{color:#adadad}input:-ms-input-placeholder{color:#adadad}input:focus{border-color:#3ed778;box-shadow:none;outline:0 none}input.input-sm{height:30px}input.input-lg{height:50px}input.error{background-color:#f6cdd1;border-color:#dc3545}input.valid{background-color:#ebfaeb;border-color:#37c936;color:#278d26}.showErrors{border-color:#ff8000}"]
|
|
978
977
|
},] }
|
|
979
978
|
];
|
|
980
979
|
PasswordFieldComponent.propDecorators = {
|
|
981
|
-
placeholder: [{ type: core.Input }]
|
|
982
|
-
isPasswordConfirm: [{ type: core.Input }]
|
|
980
|
+
placeholder: [{ type: core.Input }]
|
|
983
981
|
};
|
|
984
982
|
|
|
985
983
|
var SELECT_TRANSLATIONS = new core.InjectionToken('klp.form.select.translations');
|