/**
 * Generic box alert
 * @author Poem Pitzer
 * @author msanchez <msanchez@alertlogic.com>
 * @author fmiranda <fmiranda@alertlogic.com>
*/
import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
var _c0 = [[["", 8, "icon"]], [["", 8, "text"]], [["", 8, "alert-button"]]];
var _c1 = [".icon", ".text", ".alert-button"];
var AlAlertBoxComponent = /** @class */ (function () {
    function AlAlertBoxComponent() {
        this.boxColor = '';
        this.iconColor = '';
    }
    /** @nocollapse */ AlAlertBoxComponent.ɵfac = function AlAlertBoxComponent_Factory(t) { return new (t || AlAlertBoxComponent)(); };
    /** @nocollapse */ AlAlertBoxComponent.ɵcmp = i0.ɵɵdefineComponent({ type: AlAlertBoxComponent, selectors: [["al-alert-box"]], inputs: { boxColor: "boxColor", iconColor: "iconColor" }, ngContentSelectors: _c1, decls: 4, vars: 1, consts: [[1, "al-alert-box", 3, "ngClass"]], template: function AlAlertBoxComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵprojectionDef(_c0);
            i0.ɵɵelementStart(0, "div", 0);
            i0.ɵɵprojection(1, 0, ["[ngClass]", "iconColor"]);
            i0.ɵɵprojection(2, 1);
            i0.ɵɵprojection(3, 2);
            i0.ɵɵelementEnd();
        } if (rf & 2) {
            i0.ɵɵproperty("ngClass", ctx.boxColor);
        } }, directives: [i1.NgClass], styles: [".al-alert-box[_ngcontent-%COMP%]{display:flex;padding:15px;align-items:center}.al-alert-box.gray[_ngcontent-%COMP%]{border:2px solid #535353}.al-alert-box.green[_ngcontent-%COMP%]{border:2px solid #81c783}.al-alert-box.red[_ngcontent-%COMP%]{border:2px solid #ef534f}.al-alert-box.orange[_ngcontent-%COMP%]{border:2px solid #f78c1e}.al-alert-box[_ngcontent-%COMP%]     .icon{display:flex;align-content:flex-start;justify-content:center;margin-right:12px}.al-alert-box[_ngcontent-%COMP%]     .icon>i{font-size:2.5em}.al-alert-box[_ngcontent-%COMP%]     .icon>i.gray{color:#535353}.al-alert-box[_ngcontent-%COMP%]     .icon>i.green{color:#81c783}.al-alert-box[_ngcontent-%COMP%]     .icon>i.red{color:#ef534f}.al-alert-box[_ngcontent-%COMP%]     .icon>i.orange{color:#f78c1e}.al-alert-box[_ngcontent-%COMP%]     .text{display:flex;flex:1;justify-content:flex-start}.al-alert-box[_ngcontent-%COMP%]     .alert-button{display:flex;justify-content:flex-end}"] });
    return AlAlertBoxComponent;
}());
export { AlAlertBoxComponent };
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(AlAlertBoxComponent, [{
        type: Component,
        args: [{
                selector: 'al-alert-box',
                templateUrl: './al-alert-box.component.html',
                styleUrls: ['./al-alert-box.component.scss'],
            }]
    }], function () { return []; }, { boxColor: [{
            type: Input
        }], iconColor: [{
            type: Input
        }] }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWwtYWxlcnQtYm94LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhbC9uZy1nZW5lcmljLWNvbXBvbmVudHMvIiwic291cmNlcyI6WyJhbC1hbGVydC1ib3gvYWwtYWxlcnQtYm94LmNvbXBvbmVudC50cyIsImFsLWFsZXJ0LWJveC9hbC1hbGVydC1ib3guY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7O0VBS0U7QUFDRixPQUFPLEVBQ0gsU0FBUyxFQUNULEtBQUssRUFDUixNQUFNLGVBQWUsQ0FBQzs7Ozs7QUFDdkI7SUFRSTtRQUZTLGFBQVEsR0FBRyxFQUFFLENBQUM7UUFDZCxjQUFTLEdBQUcsRUFBRSxDQUFDO0lBQ1IsQ0FBQzs2R0FIUixtQkFBbUI7K0VBQW5CLG1CQUFtQjs7WUNmaEMsOEJBQ0U7WUFBQSxpREFBaUQ7WUFDakQscUJBQTJCO1lBQzNCLHFCQUFtQztZQUNyQyxpQkFBTTs7WUFKb0Isc0NBQW9COzs4Q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