import { Component, Input, ChangeDetectionStrategy, ViewEncapsulation } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
export class SmzTagMessage {
    constructor() {
        this.escape = true;
        this.grow = true;
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: SmzTagMessage, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: SmzTagMessage, selector: "smz-tag-message", inputs: { severity: "severity", text: "text", escape: "escape", grow: "grow", style: "style", styleClass: "styleClass", icon: "icon" }, ngImport: i0, template: `
        <div *ngIf="severity"
          aria-live="polite"
          [ngStyle]="style"
          [class]="'p-inline-message p-component p-inline-message p-inline-message-' + severity + ' ' + styleClass"
          [ngClass]="{ 'w-full': grow }">
            <span *ngIf="icon" class="p-inline-message-icon" [ngClass]="icon"></span>
            <div *ngIf="!escape; else escapeOut">
                <span *ngIf="!escape" class="p-inline-message-text" [innerHTML]="text"></span>
            </div>
            <ng-template #escapeOut>
                <span *ngIf="escape" class="p-inline-message-text">{{text}}</span>
            </ng-template>
        </div>
    `, isInline: true, styles: [".p-inline-message{display:inline-flex;align-items:center;justify-content:center;vertical-align:top}.p-inline-message-icon-only .p-inline-message-text{visibility:hidden;width:0}.p-fluid .p-inline-message{display:flex}.p-inline-message.p-inline-message-demo{background:#fff8e1;border:solid #FFA726;border-width:0px;color:#fb8c00}.p-inline-message.p-inline-message-demo .p-inline-message-icon{color:#fb8c00}\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: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: SmzTagMessage, decorators: [{
            type: Component,
            args: [{ selector: 'smz-tag-message', template: `
        <div *ngIf="severity"
          aria-live="polite"
          [ngStyle]="style"
          [class]="'p-inline-message p-component p-inline-message p-inline-message-' + severity + ' ' + styleClass"
          [ngClass]="{ 'w-full': grow }">
            <span *ngIf="icon" class="p-inline-message-icon" [ngClass]="icon"></span>
            <div *ngIf="!escape; else escapeOut">
                <span *ngIf="!escape" class="p-inline-message-text" [innerHTML]="text"></span>
            </div>
            <ng-template #escapeOut>
                <span *ngIf="escape" class="p-inline-message-text">{{text}}</span>
            </ng-template>
        </div>
    `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".p-inline-message{display:inline-flex;align-items:center;justify-content:center;vertical-align:top}.p-inline-message-icon-only .p-inline-message-text{visibility:hidden;width:0}.p-fluid .p-inline-message{display:flex}.p-inline-message.p-inline-message-demo{background:#fff8e1;border:solid #FFA726;border-width:0px;color:#fb8c00}.p-inline-message.p-inline-message-demo .p-inline-message-icon{color:#fb8c00}\n"] }]
        }], propDecorators: { severity: [{
                type: Input
            }], text: [{
                type: Input
            }], escape: [{
                type: Input
            }], grow: [{
                type: Input
            }], style: [{
                type: Input
            }], styleClass: [{
                type: Input
            }], icon: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFnLW1lc3NhZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNtei11aS9zcmMvbGliL21vZHVsZXMvc216LW1lc3NhZ2VzL2NvbXBvbmVudHMvdGFnLW1lc3NhZ2UvdGFnLW1lc3NhZ2UuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sR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