@apipass/inputs 1.0.68 → 1.0.70
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/esm2022/input-boolean/input-boolean.component.mjs +1 -1
- package/esm2022/input-image/input-image.component.mjs +1 -1
- package/esm2022/inputs.module.mjs +1 -10
- package/esm2022/public-api.mjs +1 -2
- package/fesm2022/apipass-inputs.mjs +7 -100
- package/fesm2022/apipass-inputs.mjs.map +1 -1
- package/inputs.module.d.ts +24 -26
- package/package.json +7 -42
- package/public-api.d.ts +0 -1
- package/esm2022/input-password/input-password.component.mjs +0 -94
- package/input-password/input-password.component.d.ts +0 -28
package/inputs.module.d.ts
CHANGED
|
@@ -5,33 +5,31 @@ import * as i3 from "./select-enum/select-enum.component";
|
|
|
5
5
|
import * as i4 from "./input-text/input-text.component";
|
|
6
6
|
import * as i5 from "./input-number/input-number.component";
|
|
7
7
|
import * as i6 from "./input-boolean/input-boolean.component";
|
|
8
|
-
import * as i7 from "./input-
|
|
9
|
-
import * as i8 from "./input-
|
|
10
|
-
import * as i9 from "./input-
|
|
11
|
-
import * as i10 from "./
|
|
12
|
-
import * as i11 from "./
|
|
13
|
-
import * as i12 from "./
|
|
14
|
-
import * as i13 from "./
|
|
15
|
-
import * as i14 from "./ace-editor/
|
|
16
|
-
import * as i15 from "./
|
|
17
|
-
import * as i16 from "
|
|
18
|
-
import * as i17 from "@angular/
|
|
19
|
-
import * as i18 from "@angular/
|
|
20
|
-
import * as i19 from "@angular/
|
|
21
|
-
import * as i20 from "@angular/material/
|
|
22
|
-
import * as i21 from "@angular/material/
|
|
23
|
-
import * as i22 from "@
|
|
24
|
-
import * as i23 from "@
|
|
25
|
-
import * as i24 from "@
|
|
26
|
-
import * as i25 from "@apipass/
|
|
27
|
-
import * as i26 from "@angular/material/
|
|
28
|
-
import * as i27 from "
|
|
29
|
-
import * as i28 from "@
|
|
30
|
-
import * as i29 from "
|
|
31
|
-
import * as i30 from "@apipass/buttons";
|
|
32
|
-
import * as i31 from "@angular/cdk/overlay";
|
|
8
|
+
import * as i7 from "./input-avatar/input-avatar.component";
|
|
9
|
+
import * as i8 from "./input-image/input-image.component";
|
|
10
|
+
import * as i9 from "./input-file/input-file.component";
|
|
11
|
+
import * as i10 from "./custom-select/custom-select.component";
|
|
12
|
+
import * as i11 from "./select-interpolation/select-interpolation.component";
|
|
13
|
+
import * as i12 from "./field/field.component";
|
|
14
|
+
import * as i13 from "./ace-editor/component";
|
|
15
|
+
import * as i14 from "./ace-editor/directive";
|
|
16
|
+
import * as i15 from "./debounce-model-directive/debouceInput.directive";
|
|
17
|
+
import * as i16 from "@angular/router";
|
|
18
|
+
import * as i17 from "@angular/common";
|
|
19
|
+
import * as i18 from "@angular/forms";
|
|
20
|
+
import * as i19 from "@angular/material/form-field";
|
|
21
|
+
import * as i20 from "@angular/material/input";
|
|
22
|
+
import * as i21 from "@angular/material/select";
|
|
23
|
+
import * as i22 from "@ng-select/ng-select";
|
|
24
|
+
import * as i23 from "@apipass/pipes";
|
|
25
|
+
import * as i24 from "@angular/material/icon";
|
|
26
|
+
import * as i25 from "@apipass/icons";
|
|
27
|
+
import * as i26 from "@angular/material/tooltip";
|
|
28
|
+
import * as i27 from "ngx-drag-drop";
|
|
29
|
+
import * as i28 from "@apipass/buttons";
|
|
30
|
+
import * as i29 from "@angular/cdk/overlay";
|
|
33
31
|
export declare class InputsModule {
|
|
34
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputsModule, never>;
|
|
35
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InputsModule, [typeof i1.MatSelectInfiniteScrollDirective, typeof i2.SelectBoxComponent, typeof i3.SelectEnumComponent, typeof i4.InputTextComponent, typeof i5.InputNumberComponent, typeof i6.InputBooleanComponent, typeof i7.
|
|
33
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InputsModule, [typeof i1.MatSelectInfiniteScrollDirective, typeof i2.SelectBoxComponent, typeof i3.SelectEnumComponent, typeof i4.InputTextComponent, typeof i5.InputNumberComponent, typeof i6.InputBooleanComponent, typeof i7.InputAvatarComponent, typeof i8.InputImageComponent, typeof i9.InputFileComponent, typeof i10.CustomSelectComponent, typeof i11.SelectInterpolationComponent, typeof i12.FieldComponent, typeof i13.AceEditorComponent, typeof i14.AceEditorDirective, typeof i15.DebouceInputDirective], [typeof i16.RouterModule, typeof i17.CommonModule, typeof i18.FormsModule, typeof i19.MatFormFieldModule, typeof i20.MatInputModule, typeof i21.MatSelectModule, typeof i22.NgSelectModule, typeof i23.PipeModule, typeof i24.MatIconModule, typeof i25.IconsModule, typeof i26.MatTooltipModule, typeof i27.DndModule, typeof i28.ButtonsModule, typeof i29.OverlayModule], [typeof i2.SelectBoxComponent, typeof i3.SelectEnumComponent, typeof i4.InputTextComponent, typeof i5.InputNumberComponent, typeof i6.InputBooleanComponent, typeof i7.InputAvatarComponent, typeof i8.InputImageComponent, typeof i9.InputFileComponent, typeof i10.CustomSelectComponent, typeof i11.SelectInterpolationComponent, typeof i12.FieldComponent, typeof i13.AceEditorComponent, typeof i14.AceEditorDirective, typeof i15.DebouceInputDirective]>;
|
|
36
34
|
static ɵinj: i0.ɵɵInjectorDeclaration<InputsModule>;
|
|
37
35
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apipass/inputs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.70",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/animations": "16.0.2",
|
|
6
6
|
"@angular/cdk": "16.0.1",
|
|
@@ -12,13 +12,12 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"ace-builds": "1.4.14",
|
|
14
14
|
"brace": "^0.11.1",
|
|
15
|
-
"@angular-material-
|
|
16
|
-
"@angular-material-components/
|
|
17
|
-
"@angular-material-components/
|
|
18
|
-
"@
|
|
19
|
-
"@apipass/
|
|
20
|
-
"@apipass/
|
|
21
|
-
"@apipass/pipes": "1.0.44",
|
|
15
|
+
"@angular-material-components/color-picker": "16.0.0",
|
|
16
|
+
"@angular-material-components/datetime-picker": "16.0.0",
|
|
17
|
+
"@angular-material-components/moment-adapter": "16.0.0",
|
|
18
|
+
"@apipass/buttons": "1.0.69",
|
|
19
|
+
"@apipass/icons": "1.0.69",
|
|
20
|
+
"@apipass/pipes": "1.0.69",
|
|
22
21
|
"@ng-select/ng-select": "11.0.0",
|
|
23
22
|
"@ngx-translate/core": "15.0.0",
|
|
24
23
|
"@ngx-translate/http-loader": "8.0.0",
|
|
@@ -29,40 +28,6 @@
|
|
|
29
28
|
"tinycolor2": "1.6.0",
|
|
30
29
|
"tslib": "2.5.2"
|
|
31
30
|
},
|
|
32
|
-
"overrides": {
|
|
33
|
-
"@angular-material-extensions/password-strength": {
|
|
34
|
-
"@angular/common": "^16.0.2",
|
|
35
|
-
"@angular/cdk": "^16.0.1",
|
|
36
|
-
"@angular/core": "^16.0.2",
|
|
37
|
-
"@angular/forms": "^16.0.2",
|
|
38
|
-
"@angular/material": "^16.0.1",
|
|
39
|
-
"@angular/platform-browser": "16.0.2"
|
|
40
|
-
},
|
|
41
|
-
"@angular-material-components/color-picker": {
|
|
42
|
-
"@angular/common": "^16.0.2",
|
|
43
|
-
"@angular/cdk": "^16.0.1",
|
|
44
|
-
"@angular/core": "^16.0.2",
|
|
45
|
-
"@angular/forms": "^16.0.2",
|
|
46
|
-
"@angular/material": "^16.0.1",
|
|
47
|
-
"@angular/platform-browser": "16.0.2"
|
|
48
|
-
},
|
|
49
|
-
"@angular-material-components/datetime-picker": {
|
|
50
|
-
"@angular/common": "^16.0.2",
|
|
51
|
-
"@angular/cdk": "^16.0.1",
|
|
52
|
-
"@angular/core": "^16.0.2",
|
|
53
|
-
"@angular/forms": "^16.0.2",
|
|
54
|
-
"@angular/material": "^16.0.1",
|
|
55
|
-
"@angular/platform-browser": "16.0.2"
|
|
56
|
-
},
|
|
57
|
-
"@angular-material-components/moment-adapter": {
|
|
58
|
-
"@angular/common": "^16.0.2",
|
|
59
|
-
"@angular/cdk": "^16.0.1",
|
|
60
|
-
"@angular/core": "^16.0.2",
|
|
61
|
-
"@angular/forms": "^16.0.2",
|
|
62
|
-
"@angular/material": "^16.0.1",
|
|
63
|
-
"@angular/platform-browser": "16.0.2"
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
31
|
"module": "fesm2022/apipass-inputs.mjs",
|
|
67
32
|
"typings": "index.d.ts",
|
|
68
33
|
"exports": {
|
package/public-api.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export * from './field/field.component';
|
|
|
6
6
|
export * from './input-avatar/input-avatar.component';
|
|
7
7
|
export * from './input-file/input-file.component';
|
|
8
8
|
export * from './input-image/input-image.component';
|
|
9
|
-
export * from './input-password/input-password.component';
|
|
10
9
|
export * from './input-text/input-text.component';
|
|
11
10
|
export * from './input-number/input-number.component';
|
|
12
11
|
export * from './input-boolean/input-boolean.component';
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, forwardRef, Input, Output, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
-
import { ValueAccessorBase } from '../value-acessor-base';
|
|
4
|
-
import * as lodash from 'lodash';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/common";
|
|
7
|
-
import * as i2 from "@angular/forms";
|
|
8
|
-
import * as i3 from "@angular/material/form-field";
|
|
9
|
-
import * as i4 from "@angular/material/input";
|
|
10
|
-
import * as i5 from "@angular-material-extensions/password-strength";
|
|
11
|
-
class InputPasswordComponent extends ValueAccessorBase {
|
|
12
|
-
label = '';
|
|
13
|
-
disabled = false;
|
|
14
|
-
showPasswordRuleDetails = false;
|
|
15
|
-
showPasswordLengthDetails = false;
|
|
16
|
-
enableLengthRule = false;
|
|
17
|
-
enableLowerCaseLetterRule = false;
|
|
18
|
-
enableUpperCaseLetterRule = false;
|
|
19
|
-
enableDigitRule = false;
|
|
20
|
-
enableSpecialCharRule = false;
|
|
21
|
-
minLength = 0;
|
|
22
|
-
maxLength = 200;
|
|
23
|
-
strengthToValid = 100;
|
|
24
|
-
lowerCaseCriteriaMsg = 'Your password must have a lowercase letter';
|
|
25
|
-
upperCaseCriteriaMsg = 'Your password must have an uppercase letter';
|
|
26
|
-
digitsCriteriaMsg = 'Your password must have a number';
|
|
27
|
-
specialCharsCriteriaMsg = 'Your password must have a special character';
|
|
28
|
-
minCharsCriteriaMsg = `Your password must be at least ${this.minLength} characters`;
|
|
29
|
-
onValidPassword = new EventEmitter();
|
|
30
|
-
onKeyDown(event) {
|
|
31
|
-
if (event.which === 32) {
|
|
32
|
-
event.target.value += ' ';
|
|
33
|
-
}
|
|
34
|
-
event.stopPropagation();
|
|
35
|
-
}
|
|
36
|
-
onStrengthChanged(strength) {
|
|
37
|
-
this.onValidPassword.emit(strength >= this.getStrength());
|
|
38
|
-
}
|
|
39
|
-
getStrength() {
|
|
40
|
-
return lodash.inRange(this.strengthToValid, 0, 100) ? this.strengthToValid : 100;
|
|
41
|
-
}
|
|
42
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: InputPasswordComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: InputPasswordComponent, selector: "input-password", inputs: { label: "label", disabled: "disabled", showPasswordRuleDetails: "showPasswordRuleDetails", showPasswordLengthDetails: "showPasswordLengthDetails", enableLengthRule: "enableLengthRule", enableLowerCaseLetterRule: "enableLowerCaseLetterRule", enableUpperCaseLetterRule: "enableUpperCaseLetterRule", enableDigitRule: "enableDigitRule", enableSpecialCharRule: "enableSpecialCharRule", minLength: "minLength", maxLength: "maxLength", strengthToValid: "strengthToValid", lowerCaseCriteriaMsg: "lowerCaseCriteriaMsg", upperCaseCriteriaMsg: "upperCaseCriteriaMsg", digitsCriteriaMsg: "digitsCriteriaMsg", specialCharsCriteriaMsg: "specialCharsCriteriaMsg", minCharsCriteriaMsg: "minCharsCriteriaMsg" }, outputs: { onValidPassword: "onValidPassword" }, providers: [{
|
|
44
|
-
provide: NG_VALUE_ACCESSOR,
|
|
45
|
-
useExisting: forwardRef(() => InputPasswordComponent),
|
|
46
|
-
multi: true
|
|
47
|
-
}], usesInheritance: true, ngImport: i0, template: "<mat-form-field\n class=\"apipass-input-password apipass-input-text\"\n [color]=\"passwordComponent.color\"\n [ngClass]=\"{'label-input': label}\"\n appearance=\"outline\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput #password\n [type]=\"toggle.type\"\n [disabled]=\"disabled\"\n [maxLength]=\"maxLength\"\n [minlength]=\"minLength\"\n class=\"apipass-input\"\n required\n [(ngModel)]=\"value\" />\n <mat-pass-toggle-visibility #toggle matSuffix></mat-pass-toggle-visibility>\n <mat-hint align=\"end\" aria-live=\"polite\" *ngIf=\"showPasswordLengthDetails\">\n {{password.value.length}} / {{passwordComponent.max}}\n </mat-hint>\n</mat-form-field>\n\n<mat-password-strength\n class=\"green\"\n #passwordComponent\n (onStrengthChanged)=\"onStrengthChanged($event)\"\n [enableLengthRule]=\"enableLengthRule\"\n [min]=\"minLength\" [max]=\"maxLength\"\n [enableLowerCaseLetterRule]=\"enableLowerCaseLetterRule\"\n [enableUpperCaseLetterRule]=\"enableUpperCaseLetterRule\"\n [enableDigitRule]=\"enableDigitRule\"\n [enableSpecialCharRule]=\"enableSpecialCharRule\"\n [password]=\"password.value\">\n</mat-password-strength>\n\n<mat-password-strength-info\n *ngIf=\"showPasswordRuleDetails\"\n [lowerCaseCriteriaMsg]=\"lowerCaseCriteriaMsg\"\n [upperCaseCriteriaMsg]=\"upperCaseCriteriaMsg\"\n [digitsCriteriaMsg]=\"digitsCriteriaMsg\"\n [specialCharsCriteriaMsg]=\"specialCharsCriteriaMsg\"\n [minCharsCriteriaMsg]=\"minCharsCriteriaMsg\"\n [passwordComponent]=\"passwordComponent\">\n</mat-password-strength-info>\n", styles: [".apipass-input-password mat-pass-toggle-visibility{color:var(--color-primary);cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.MinLengthValidator, selector: "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]", inputs: ["minlength"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i5.MatPasswordStrengthComponent, selector: "mat-password-strength", inputs: ["password", "externalError", "enableLengthRule", "enableLowerCaseLetterRule", "enableUpperCaseLetterRule", "enableDigitRule", "enableSpecialCharRule", "min", "max", "customValidator", "warnThreshold", "accentThreshold"], outputs: ["onStrengthChanged"], exportAs: ["matPasswordStrength"] }, { kind: "component", type: i5.MatPasswordStrengthInfoComponent, selector: "mat-password-strength-info", inputs: ["passwordComponent", "enableScoreInfo", "lowerCaseCriteriaMsg", "upperCaseCriteriaMsg", "digitsCriteriaMsg", "specialCharsCriteriaMsg", "customCharsCriteriaMsg", "minCharsCriteriaMsg", "matIconDone", "matIconError"], exportAs: ["matPasswordStrengthInfo"] }, { kind: "component", type: i5.MatPassToggleVisibilityComponent, selector: "mat-pass-toggle-visibility", inputs: ["isVisible", "tabindex"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
48
|
-
}
|
|
49
|
-
export { InputPasswordComponent };
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: InputPasswordComponent, decorators: [{
|
|
51
|
-
type: Component,
|
|
52
|
-
args: [{ selector: 'input-password', providers: [{
|
|
53
|
-
provide: NG_VALUE_ACCESSOR,
|
|
54
|
-
useExisting: forwardRef(() => InputPasswordComponent),
|
|
55
|
-
multi: true
|
|
56
|
-
}], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<mat-form-field\n class=\"apipass-input-password apipass-input-text\"\n [color]=\"passwordComponent.color\"\n [ngClass]=\"{'label-input': label}\"\n appearance=\"outline\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <input matInput #password\n [type]=\"toggle.type\"\n [disabled]=\"disabled\"\n [maxLength]=\"maxLength\"\n [minlength]=\"minLength\"\n class=\"apipass-input\"\n required\n [(ngModel)]=\"value\" />\n <mat-pass-toggle-visibility #toggle matSuffix></mat-pass-toggle-visibility>\n <mat-hint align=\"end\" aria-live=\"polite\" *ngIf=\"showPasswordLengthDetails\">\n {{password.value.length}} / {{passwordComponent.max}}\n </mat-hint>\n</mat-form-field>\n\n<mat-password-strength\n class=\"green\"\n #passwordComponent\n (onStrengthChanged)=\"onStrengthChanged($event)\"\n [enableLengthRule]=\"enableLengthRule\"\n [min]=\"minLength\" [max]=\"maxLength\"\n [enableLowerCaseLetterRule]=\"enableLowerCaseLetterRule\"\n [enableUpperCaseLetterRule]=\"enableUpperCaseLetterRule\"\n [enableDigitRule]=\"enableDigitRule\"\n [enableSpecialCharRule]=\"enableSpecialCharRule\"\n [password]=\"password.value\">\n</mat-password-strength>\n\n<mat-password-strength-info\n *ngIf=\"showPasswordRuleDetails\"\n [lowerCaseCriteriaMsg]=\"lowerCaseCriteriaMsg\"\n [upperCaseCriteriaMsg]=\"upperCaseCriteriaMsg\"\n [digitsCriteriaMsg]=\"digitsCriteriaMsg\"\n [specialCharsCriteriaMsg]=\"specialCharsCriteriaMsg\"\n [minCharsCriteriaMsg]=\"minCharsCriteriaMsg\"\n [passwordComponent]=\"passwordComponent\">\n</mat-password-strength-info>\n", styles: [".apipass-input-password mat-pass-toggle-visibility{color:var(--color-primary);cursor:pointer}\n"] }]
|
|
57
|
-
}], propDecorators: { label: [{
|
|
58
|
-
type: Input
|
|
59
|
-
}], disabled: [{
|
|
60
|
-
type: Input
|
|
61
|
-
}], showPasswordRuleDetails: [{
|
|
62
|
-
type: Input
|
|
63
|
-
}], showPasswordLengthDetails: [{
|
|
64
|
-
type: Input
|
|
65
|
-
}], enableLengthRule: [{
|
|
66
|
-
type: Input
|
|
67
|
-
}], enableLowerCaseLetterRule: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}], enableUpperCaseLetterRule: [{
|
|
70
|
-
type: Input
|
|
71
|
-
}], enableDigitRule: [{
|
|
72
|
-
type: Input
|
|
73
|
-
}], enableSpecialCharRule: [{
|
|
74
|
-
type: Input
|
|
75
|
-
}], minLength: [{
|
|
76
|
-
type: Input
|
|
77
|
-
}], maxLength: [{
|
|
78
|
-
type: Input
|
|
79
|
-
}], strengthToValid: [{
|
|
80
|
-
type: Input
|
|
81
|
-
}], lowerCaseCriteriaMsg: [{
|
|
82
|
-
type: Input
|
|
83
|
-
}], upperCaseCriteriaMsg: [{
|
|
84
|
-
type: Input
|
|
85
|
-
}], digitsCriteriaMsg: [{
|
|
86
|
-
type: Input
|
|
87
|
-
}], specialCharsCriteriaMsg: [{
|
|
88
|
-
type: Input
|
|
89
|
-
}], minCharsCriteriaMsg: [{
|
|
90
|
-
type: Input
|
|
91
|
-
}], onValidPassword: [{
|
|
92
|
-
type: Output
|
|
93
|
-
}] } });
|
|
94
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcGFzc3dvcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvaW5wdXRzL3NyYy9pbnB1dC1wYXNzd29yZC9pbnB1dC1wYXNzd29yZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi9wcm9qZWN0cy9pbnB1dHMvc3JjL2lucHV0LXBhc3N3b3JkL2lucHV0LXBhc3N3b3JkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFlBQVksRUFDWixVQUFVLEVBQ1YsS0FBSyxFQUNMLE1BQU0sRUFDTixpQkFBaUIsRUFDbEIsTUFBTSxlQUFlLENBQUE7QUFDdEIsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZ0JBQWdCLENBQUE7QUFDbEQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sdUJBQXVCLENBQUE7QUFDekQsT0FBTyxLQUFLLE1BQU0sTUFBTSxRQUFRLENBQUE7Ozs7Ozs7QUFFaEMsTUFZYSxzQkFB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"@angular/core";
|
|
4
|
-
export declare class InputPasswordComponent extends ValueAccessorBase<string> {
|
|
5
|
-
label: string;
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
showPasswordRuleDetails: boolean;
|
|
8
|
-
showPasswordLengthDetails: boolean;
|
|
9
|
-
enableLengthRule: boolean;
|
|
10
|
-
enableLowerCaseLetterRule: boolean;
|
|
11
|
-
enableUpperCaseLetterRule: boolean;
|
|
12
|
-
enableDigitRule: boolean;
|
|
13
|
-
enableSpecialCharRule: boolean;
|
|
14
|
-
minLength: number;
|
|
15
|
-
maxLength: number;
|
|
16
|
-
strengthToValid: number;
|
|
17
|
-
lowerCaseCriteriaMsg: string;
|
|
18
|
-
upperCaseCriteriaMsg: string;
|
|
19
|
-
digitsCriteriaMsg: string;
|
|
20
|
-
specialCharsCriteriaMsg: string;
|
|
21
|
-
minCharsCriteriaMsg: string;
|
|
22
|
-
onValidPassword: EventEmitter<boolean>;
|
|
23
|
-
onKeyDown(event: any): void;
|
|
24
|
-
onStrengthChanged(strength: number): void;
|
|
25
|
-
private getStrength;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputPasswordComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputPasswordComponent, "input-password", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showPasswordRuleDetails": { "alias": "showPasswordRuleDetails"; "required": false; }; "showPasswordLengthDetails": { "alias": "showPasswordLengthDetails"; "required": false; }; "enableLengthRule": { "alias": "enableLengthRule"; "required": false; }; "enableLowerCaseLetterRule": { "alias": "enableLowerCaseLetterRule"; "required": false; }; "enableUpperCaseLetterRule": { "alias": "enableUpperCaseLetterRule"; "required": false; }; "enableDigitRule": { "alias": "enableDigitRule"; "required": false; }; "enableSpecialCharRule": { "alias": "enableSpecialCharRule"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "strengthToValid": { "alias": "strengthToValid"; "required": false; }; "lowerCaseCriteriaMsg": { "alias": "lowerCaseCriteriaMsg"; "required": false; }; "upperCaseCriteriaMsg": { "alias": "upperCaseCriteriaMsg"; "required": false; }; "digitsCriteriaMsg": { "alias": "digitsCriteriaMsg"; "required": false; }; "specialCharsCriteriaMsg": { "alias": "specialCharsCriteriaMsg"; "required": false; }; "minCharsCriteriaMsg": { "alias": "minCharsCriteriaMsg"; "required": false; }; }, { "onValidPassword": "onValidPassword"; }, never, never, false, never>;
|
|
28
|
-
}
|