@ohioepa/oepa-ui-lib 2.0.2 → 2.0.3
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/lib/phone-number/phone-number.component.mjs +3 -3
- package/esm2022/lib/zip-code/zip-code.component.mjs +3 -3
- package/fesm2022/ohioepa-oepa-ui-lib.mjs +4 -4
- package/fesm2022/ohioepa-oepa-ui-lib.mjs.map +1 -1
- package/ohioepa-oepa-ui-lib-2.0.3.tgz +0 -0
- package/package.json +1 -1
- package/ohioepa-oepa-ui-lib-2.0.2.tgz +0 -0
|
@@ -23,11 +23,11 @@ export class PhoneNumberComponent {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PhoneNumberComponent, deps: [{ token: i1.OepaComponentIdService }], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: PhoneNumberComponent, selector: "oepa-phone-number", inputs: { group: "group", field: "field", showValidation: "showValidation", isSearch: "isSearch", phoneLabel: "phoneLabel" }, ngImport: i0, template: "<div [formGroup]=\"group\">\n\t<label>{{phoneLabel}}</label>\n\t<input
|
|
26
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: PhoneNumberComponent, selector: "oepa-phone-number", inputs: { group: "group", field: "field", showValidation: "showValidation", isSearch: "isSearch", phoneLabel: "phoneLabel" }, ngImport: i0, template: "<div [formGroup]=\"group\">\n\t<label [for]=\"componentId+'_PhoneInput'\">{{phoneLabel}}</label>\n\t<input\n\t\t[type]=\"isSearch ? 'search' : 'text'\"\n\t\tclass=\"form-control\"\n\t\t[ngClass]=\"{'is-invalid':showValidation && group.controls[field].status === 'INVALID'}\"\n\t\tplaceholder=\"(xxx) xxx-xxxx\"\n\t\t[formControlName]=\"field\"\n\t\t[id]=\"componentId+'_PhoneInput'\"\n\t\tmask=\"(000) 000-0000\"\n\t\tminlength=\"10\"\n\t/>\n\t<small class=\"invalid-feedback\" *ngIf=\"group.controls[field].hasError('required')\" aria-live=\"polite\">{{phoneLabel}} is required</small>\n\t<small class=\"invalid-feedback\" *ngIf=\"group.controls[field].hasError('minlength')\" aria-live=\"polite\">Please enter a valid phone number</small>\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.MinLengthValidator, selector: "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]", inputs: ["minlength"] }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i4.NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions"], outputs: ["maskFilled"], exportAs: ["mask", "ngxMask"] }] });
|
|
27
27
|
}
|
|
28
28
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PhoneNumberComponent, decorators: [{
|
|
29
29
|
type: Component,
|
|
30
|
-
args: [{ selector: 'oepa-phone-number', template: "<div [formGroup]=\"group\">\n\t<label>{{phoneLabel}}</label>\n\t<input
|
|
30
|
+
args: [{ selector: 'oepa-phone-number', template: "<div [formGroup]=\"group\">\n\t<label [for]=\"componentId+'_PhoneInput'\">{{phoneLabel}}</label>\n\t<input\n\t\t[type]=\"isSearch ? 'search' : 'text'\"\n\t\tclass=\"form-control\"\n\t\t[ngClass]=\"{'is-invalid':showValidation && group.controls[field].status === 'INVALID'}\"\n\t\tplaceholder=\"(xxx) xxx-xxxx\"\n\t\t[formControlName]=\"field\"\n\t\t[id]=\"componentId+'_PhoneInput'\"\n\t\tmask=\"(000) 000-0000\"\n\t\tminlength=\"10\"\n\t/>\n\t<small class=\"invalid-feedback\" *ngIf=\"group.controls[field].hasError('required')\" aria-live=\"polite\">{{phoneLabel}} is required</small>\n\t<small class=\"invalid-feedback\" *ngIf=\"group.controls[field].hasError('minlength')\" aria-live=\"polite\">Please enter a valid phone number</small>\n</div>" }]
|
|
31
31
|
}], ctorParameters: () => [{ type: i1.OepaComponentIdService }], propDecorators: { group: [{
|
|
32
32
|
type: Input
|
|
33
33
|
}], field: [{
|
|
@@ -41,4 +41,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
41
41
|
type: Input,
|
|
42
42
|
args: ['phoneLabel']
|
|
43
43
|
}] } });
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGhvbmUtbnVtYmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3V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T1cInBvbGl0ZVwiPnt7cGhvbmVMYWJlbH19IGlzIHJlcXVpcmVkPC9zbWFsbD5cblx0PHNtYWxsIGNsYXNzPVwiaW52YWxpZC1mZWVkYmFja1wiICpuZ0lmPVwiZ3JvdXAuY29udHJvbHNbZmllbGRdLmhhc0Vycm9yKCdtaW5sZW5ndGgnKVwiIGFyaWEtbGl2ZT1cInBvbGl0ZVwiPlBsZWFzZSBlbnRlciBhIHZhbGlkIHBob25lIG51bWJlcjwvc21hbGw+XG48L2Rpdj4iXX0=
|
|
@@ -23,11 +23,11 @@ export class ZipCodeComponent {
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ZipCodeComponent, deps: [{ token: i1.OepaComponentIdService }], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ZipCodeComponent, selector: "oepa-zip-code", inputs: { group: "group", field: "field", showValidation: "showValidation", isSearch: "isSearch", zipCodeLabel: "zipCodeLabel" }, ngImport: i0, template: "<div [formGroup]=\"group\">\n\t<label>{{zipCodeLabel}}</label>\n\t<input
|
|
26
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ZipCodeComponent, selector: "oepa-zip-code", inputs: { group: "group", field: "field", showValidation: "showValidation", isSearch: "isSearch", zipCodeLabel: "zipCodeLabel" }, ngImport: i0, template: "<div [formGroup]=\"group\">\n\t<label [for]=\"componentId+'_ZipInput'\">{{zipCodeLabel}}</label>\n\t<input\n\t class=\"form-control\"\n\t [ngClass]=\"{'is-invalid':showValidation && group.controls[field].status === 'INVALID'}\"\n\t [type]=\"isSearch ? 'search' : 'text'\"\n\t placeholder=\"Zip Code\"\n\t [formControlName]=\"field\"\n\t [id]=\"componentId+'_ZipInput'\"\n\t mask=\"00000\"\n\t/>\n\t<small class=\"invalid-feedback\" *ngIf=\"group.controls[field].hasError('required')\" aria-live=\"polite\">{{zipCodeLabel}} is required</small>\n\t<small class=\"invalid-feedback\" *ngIf=\"group.controls[field].hasError('minlength')\" aria-live=\"polite\">{{zipCodeLabel}} must contain exactly 5 digits</small>\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i4.NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions"], outputs: ["maskFilled"], exportAs: ["mask", "ngxMask"] }] });
|
|
27
27
|
}
|
|
28
28
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ZipCodeComponent, decorators: [{
|
|
29
29
|
type: Component,
|
|
30
|
-
args: [{ selector: 'oepa-zip-code', template: "<div [formGroup]=\"group\">\n\t<label>{{zipCodeLabel}}</label>\n\t<input
|
|
30
|
+
args: [{ selector: 'oepa-zip-code', template: "<div [formGroup]=\"group\">\n\t<label [for]=\"componentId+'_ZipInput'\">{{zipCodeLabel}}</label>\n\t<input\n\t class=\"form-control\"\n\t [ngClass]=\"{'is-invalid':showValidation && group.controls[field].status === 'INVALID'}\"\n\t [type]=\"isSearch ? 'search' : 'text'\"\n\t placeholder=\"Zip Code\"\n\t [formControlName]=\"field\"\n\t [id]=\"componentId+'_ZipInput'\"\n\t mask=\"00000\"\n\t/>\n\t<small class=\"invalid-feedback\" *ngIf=\"group.controls[field].hasError('required')\" aria-live=\"polite\">{{zipCodeLabel}} is required</small>\n\t<small class=\"invalid-feedback\" *ngIf=\"group.controls[field].hasError('minlength')\" aria-live=\"polite\">{{zipCodeLabel}} must contain exactly 5 digits</small>\n</div>" }]
|
|
31
31
|
}], ctorParameters: () => [{ type: i1.OepaComponentIdService }], propDecorators: { group: [{
|
|
32
32
|
type: Input
|
|
33
33
|
}], field: [{
|
|
@@ -39,4 +39,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
39
39
|
}], zipCodeLabel: [{
|
|
40
40
|
type: Input
|
|
41
41
|
}] } });
|
|
42
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiemlwLWNvZGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvb2VwYS11aS1saWIvc3JjL2xpYi96aXAtY29kZS96aXAtY29kZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9vZXBhLXVpLWxpYi9zcmMvbGliL3ppcC1jb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
|
@@ -8700,11 +8700,11 @@ class PhoneNumberComponent {
|
|
|
8700
8700
|
}
|
|
8701
8701
|
}
|
|
8702
8702
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PhoneNumberComponent, deps: [{ token: i1$1.OepaComponentIdService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8703
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: PhoneNumberComponent, selector: "oepa-phone-number", inputs: { group: "group", field: "field", showValidation: "showValidation", isSearch: "isSearch", phoneLabel: "phoneLabel" }, ngImport: i0, template: "<div [formGroup]=\"group\">\n\t<label>{{phoneLabel}}</label>\n\t<input
|
|
8703
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: PhoneNumberComponent, selector: "oepa-phone-number", inputs: { group: "group", field: "field", showValidation: "showValidation", isSearch: "isSearch", phoneLabel: "phoneLabel" }, ngImport: i0, template: "<div [formGroup]=\"group\">\n\t<label [for]=\"componentId+'_PhoneInput'\">{{phoneLabel}}</label>\n\t<input\n\t\t[type]=\"isSearch ? 'search' : 'text'\"\n\t\tclass=\"form-control\"\n\t\t[ngClass]=\"{'is-invalid':showValidation && group.controls[field].status === 'INVALID'}\"\n\t\tplaceholder=\"(xxx) xxx-xxxx\"\n\t\t[formControlName]=\"field\"\n\t\t[id]=\"componentId+'_PhoneInput'\"\n\t\tmask=\"(000) 000-0000\"\n\t\tminlength=\"10\"\n\t/>\n\t<small class=\"invalid-feedback\" *ngIf=\"group.controls[field].hasError('required')\" aria-live=\"polite\">{{phoneLabel}} is required</small>\n\t<small class=\"invalid-feedback\" *ngIf=\"group.controls[field].hasError('minlength')\" aria-live=\"polite\">Please enter a valid phone number</small>\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.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: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.MinLengthValidator, selector: "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]", inputs: ["minlength"] }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i7.NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions"], outputs: ["maskFilled"], exportAs: ["mask", "ngxMask"] }] });
|
|
8704
8704
|
}
|
|
8705
8705
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PhoneNumberComponent, decorators: [{
|
|
8706
8706
|
type: Component,
|
|
8707
|
-
args: [{ selector: 'oepa-phone-number', template: "<div [formGroup]=\"group\">\n\t<label>{{phoneLabel}}</label>\n\t<input
|
|
8707
|
+
args: [{ selector: 'oepa-phone-number', template: "<div [formGroup]=\"group\">\n\t<label [for]=\"componentId+'_PhoneInput'\">{{phoneLabel}}</label>\n\t<input\n\t\t[type]=\"isSearch ? 'search' : 'text'\"\n\t\tclass=\"form-control\"\n\t\t[ngClass]=\"{'is-invalid':showValidation && group.controls[field].status === 'INVALID'}\"\n\t\tplaceholder=\"(xxx) xxx-xxxx\"\n\t\t[formControlName]=\"field\"\n\t\t[id]=\"componentId+'_PhoneInput'\"\n\t\tmask=\"(000) 000-0000\"\n\t\tminlength=\"10\"\n\t/>\n\t<small class=\"invalid-feedback\" *ngIf=\"group.controls[field].hasError('required')\" aria-live=\"polite\">{{phoneLabel}} is required</small>\n\t<small class=\"invalid-feedback\" *ngIf=\"group.controls[field].hasError('minlength')\" aria-live=\"polite\">Please enter a valid phone number</small>\n</div>" }]
|
|
8708
8708
|
}], ctorParameters: () => [{ type: i1$1.OepaComponentIdService }], propDecorators: { group: [{
|
|
8709
8709
|
type: Input
|
|
8710
8710
|
}], field: [{
|
|
@@ -8738,11 +8738,11 @@ class ZipCodeComponent {
|
|
|
8738
8738
|
}
|
|
8739
8739
|
}
|
|
8740
8740
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ZipCodeComponent, deps: [{ token: i1$1.OepaComponentIdService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8741
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ZipCodeComponent, selector: "oepa-zip-code", inputs: { group: "group", field: "field", showValidation: "showValidation", isSearch: "isSearch", zipCodeLabel: "zipCodeLabel" }, ngImport: i0, template: "<div [formGroup]=\"group\">\n\t<label>{{zipCodeLabel}}</label>\n\t<input
|
|
8741
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ZipCodeComponent, selector: "oepa-zip-code", inputs: { group: "group", field: "field", showValidation: "showValidation", isSearch: "isSearch", zipCodeLabel: "zipCodeLabel" }, ngImport: i0, template: "<div [formGroup]=\"group\">\n\t<label [for]=\"componentId+'_ZipInput'\">{{zipCodeLabel}}</label>\n\t<input\n\t class=\"form-control\"\n\t [ngClass]=\"{'is-invalid':showValidation && group.controls[field].status === 'INVALID'}\"\n\t [type]=\"isSearch ? 'search' : 'text'\"\n\t placeholder=\"Zip Code\"\n\t [formControlName]=\"field\"\n\t [id]=\"componentId+'_ZipInput'\"\n\t mask=\"00000\"\n\t/>\n\t<small class=\"invalid-feedback\" *ngIf=\"group.controls[field].hasError('required')\" aria-live=\"polite\">{{zipCodeLabel}} is required</small>\n\t<small class=\"invalid-feedback\" *ngIf=\"group.controls[field].hasError('minlength')\" aria-live=\"polite\">{{zipCodeLabel}} must contain exactly 5 digits</small>\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.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: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i7.NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions"], outputs: ["maskFilled"], exportAs: ["mask", "ngxMask"] }] });
|
|
8742
8742
|
}
|
|
8743
8743
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ZipCodeComponent, decorators: [{
|
|
8744
8744
|
type: Component,
|
|
8745
|
-
args: [{ selector: 'oepa-zip-code', template: "<div [formGroup]=\"group\">\n\t<label>{{zipCodeLabel}}</label>\n\t<input
|
|
8745
|
+
args: [{ selector: 'oepa-zip-code', template: "<div [formGroup]=\"group\">\n\t<label [for]=\"componentId+'_ZipInput'\">{{zipCodeLabel}}</label>\n\t<input\n\t class=\"form-control\"\n\t [ngClass]=\"{'is-invalid':showValidation && group.controls[field].status === 'INVALID'}\"\n\t [type]=\"isSearch ? 'search' : 'text'\"\n\t placeholder=\"Zip Code\"\n\t [formControlName]=\"field\"\n\t [id]=\"componentId+'_ZipInput'\"\n\t mask=\"00000\"\n\t/>\n\t<small class=\"invalid-feedback\" *ngIf=\"group.controls[field].hasError('required')\" aria-live=\"polite\">{{zipCodeLabel}} is required</small>\n\t<small class=\"invalid-feedback\" *ngIf=\"group.controls[field].hasError('minlength')\" aria-live=\"polite\">{{zipCodeLabel}} must contain exactly 5 digits</small>\n</div>" }]
|
|
8746
8746
|
}], ctorParameters: () => [{ type: i1$1.OepaComponentIdService }], propDecorators: { group: [{
|
|
8747
8747
|
type: Input
|
|
8748
8748
|
}], field: [{
|