/**
 * @fileoverview added by tsickle
 * Generated from: components/blockui/blockui.component.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
/*
    MIT License

    Copyright (c) 2019 Temainfo Software

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.
*/
import { Component, ElementRef } from '@angular/core';
import { BlockUIConfig } from './blockui-config';
export class TlBlockUIComponent {
    /**
     * @param {?} element
     */
    constructor(element) {
        this.element = element;
        this.config = new BlockUIConfig();
    }
}
TlBlockUIComponent.decorators = [
    { type: Component, args: [{
                selector: 'tl-blockui-component',
                template: "<div class=\"blockui-wrapper\"\n     [style.width]=\"config.width\"\n     [style.margin]=\"'-'+config.padding\"\n     [style.height]=\"config.height\">\n  <div id=\"blockui\">\n    <div class=\"blockui-content\">\n      <tl-icon [size]=\"'3em'\" [color]=\"config.color\" [animation]=\"config.spin ? 'spin' : null\">{{ config.icon }}</tl-icon>\n      <span *ngIf=\"config.message\">{{ config.message }}</span>\n    </div>\n  </div>\n</div>\n",
                styles: [":host{position:absolute}.blockui-wrapper{background:hsla(0,0%,96.1%,.8);height:100%;position:absolute;width:100%;z-index:1}#blockui{height:100%;justify-content:center;width:100%}#blockui,.blockui-content{align-items:center;display:flex}.blockui-content{flex-direction:column;justify-content:start center;text-align:center}.blockui-content span{color:#a5a3a2;font-family:Segoe UI,Lato,\"sans-serif\",Arial;position:relative}"]
            }] }
];
/** @nocollapse */
TlBlockUIComponent.ctorParameters = () => [
    { type: ElementRef }
];
if (false) {
    /** @type {?} */
    TlBlockUIComponent.prototype.config;
    /** @type {?} */
    TlBlockUIComponent.prototype.element;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmxvY2t1aS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy90cnVseS11aS9zcmMvY29tcG9uZW50cy9ibG9ja3VpL2Jsb2NrdWkuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBc0JBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3RELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQU9qRCxNQUFNLE9BQU8sa0JBQWtCOzs7O0lBSTNCLFlBQW9CLE9BQW1CO1FBQW5CLFlBQU8sR0FBUCxPQUFPLENBQVk7UUFGaEMsV0FBTSxHQUFrQixJQUFJLGFBQWEsRUFBRSxDQUFDO0lBRVIsQ0FBQzs7O1lBVC9DLFNBQVMsU0FBQztnQkFDUCxRQUFRLEVBQUUsc0JBQXNCO2dCQUNoQyxvY0FBdUM7O2FBRTFDOzs7O1lBUG1CLFVBQVU7Ozs7SUFVMUIsb0NBQW1EOztJQUV0QyxxQ0FBMEIiLCJzb3VyY2VzQ29udGVudCI6WyIvKl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