import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "@angular/flex-layout/flex";
import * as i3 from "@angular/forms";
import * as i4 from "primeng/password";
import * as i5 from "../validation-messages/validation-messages.component";
export class InputPasswordComponent {
    constructor() { }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: InputPasswordComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: InputPasswordComponent, selector: "smz-input-password", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<label *ngIf=\"input.hideLabel != true\" class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\r\n<div class=\"input_inner__wrapper grid grid-nogutter\">\r\n    <p-password\r\n      [promptLabel]=\"input.promptLabel\"\r\n      [weakLabel]=\"input.weakLabel\"\r\n      [mediumLabel]=\"input.mediumLabel\"\r\n      [strongLabel]=\"input.strongLabel\"\r\n      fxFlex=\"grow\"\r\n      class=\"col-12 smz__input_value\"\r\n      [id]=\"input.propertyName\"\r\n      type=\"password\"\r\n      [feedback]=\"input.feedback\"\r\n      [toggleMask]=\"input.toggleMask\"\r\n      [mediumRegex]=\"input.mediumRegex\"\r\n      [strongRegex]=\"input.strongRegex\"\r\n      [formControl]=\"control\">\r\n    </p-password>\r\n    <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\r\n</div>", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultFlexDirective, selector: "  [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md],  [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md],  [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm],  [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "component", type: i4.Password, selector: "p-password", inputs: ["ariaLabel", "ariaLabelledBy", "label", "disabled", "promptLabel", "mediumRegex", "strongRegex", "weakLabel", "mediumLabel", "maxLength", "strongLabel", "inputId", "feedback", "appendTo", "toggleMask", "inputStyleClass", "styleClass", "style", "inputStyle", "showTransitionOptions", "hideTransitionOptions", "autocomplete", "placeholder", "showClear", "autofocus"], outputs: ["onFocus", "onBlur", "onClear"] }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i5.ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: InputPasswordComponent, decorators: [{
            type: Component,
            args: [{ selector: 'smz-input-password', template: "<label *ngIf=\"input.hideLabel != true\" class=\"smz__input_name\" [innerHTML]=\"input.name\"></label>\r\n<div class=\"input_inner__wrapper grid grid-nogutter\">\r\n    <p-password\r\n      [promptLabel]=\"input.promptLabel\"\r\n      [weakLabel]=\"input.weakLabel\"\r\n      [mediumLabel]=\"input.mediumLabel\"\r\n      [strongLabel]=\"input.strongLabel\"\r\n      fxFlex=\"grow\"\r\n      class=\"col-12 smz__input_value\"\r\n      [id]=\"input.propertyName\"\r\n      type=\"password\"\r\n      [feedback]=\"input.feedback\"\r\n      [toggleMask]=\"input.toggleMask\"\r\n      [mediumRegex]=\"input.mediumRegex\"\r\n      [strongRegex]=\"input.strongRegex\"\r\n      [formControl]=\"control\">\r\n    </p-password>\r\n    <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\r\n</div>" }]
        }], ctorParameters: () => [], propDecorators: { input: [{
                type: Input
            }], control: [{
                type: Input
            }], behaviors: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcGFzc3dvcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNtei11aS9zcmMvbGliL21vZHVsZXMvc216LWZvcm1zL2NvbXBvbmVudHMvaW5wdXQtcGFzc3dvcmQvaW5wdXQtcGFzc3dvcmQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNtei11aS9zcmMvbGliL21vZHVsZXMvc216LWZvcm1zL2NvbXBvbmVudHMvaW5wdXQtcGFzc3dvcmQvaW5wdXQtcGFzc3dvcmQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7Ozs7QUFTakQsTUFBTSxPQUFPLHNCQUFzQjtJQUsvQixnQkFBZ0IsQ0FBQzs4R0FMUixzQkFBc0I7a0dBQXRCLHNCQUFzQixrSUNUbkMsczFCQWtCTTs7MkZEVE8sc0JBQXNCO2tCQUpsQyxTQUFTOytCQUNJLG9CQUFvQjt3REFLZCxLQUFLO3NCQUFwQixLQUFLO2dCQUNVLE9BQU87c0JBQXRCLEtBQUs7Z0JBQ1UsU0FBUztzQkFBeEIsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG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