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

    Copyright (c) 2018 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, Input } from '@angular/core';
export class TlSkeleton {
    constructor() {
        this.variant = 'rect';
        this.animation = 'pulse';
        this.width = '150px';
        this.height = '100px';
    }
    /**
     * @return {?}
     */
    ngOnInit() { }
}
TlSkeleton.decorators = [
    { type: Component, args: [{
                selector: 'tl-skeleton',
                template: "<span *ngIf=\"variant === 'rect'\" class=\"tl-skeleton rect\" [class]=\"'animation-'+animation\" [style.width]=\"width\" [style.height]=\"height\"></span>\n<span *ngIf=\"variant === 'circle'\" class=\"tl-skeleton circle\" [class]=\"'animation-'+animation\" [style.width]=\"width\" [style.height]=\"height\"></span>\n<span *ngIf=\"variant === 'text'\" class=\"tl-skeleton text\" [class]=\"'animation-'+animation\" [style.width]=\"width\"></span>\n",
                styles: ["@charset \"UTF-8\";.tl-skeleton{background-color:rgba(0,0,0,.11);display:block}.tl-skeleton.circle{border-radius:50%}.tl-skeleton.text{border-radius:4px;height:auto!important;margin-bottom:0;margin-top:0;transform:scaleY(.6);transform-origin:0 60%;width:100%}.tl-skeleton.text:before{content:\"\u00A0\"}.tl-skeleton.animation-none{-webkit-animation:none;animation:none}.tl-skeleton.animation-pulse{-webkit-animation:animation-pulse 1.5s ease-in-out .5s infinite;animation:animation-pulse 1.5s ease-in-out .5s infinite}.tl-skeleton.animation-wave{overflow:hidden;position:relative}.tl-skeleton.animation-wave:after{-webkit-animation:animation-wave 1.6s linear .5s infinite;animation:animation-wave 1.6s linear .5s infinite;background:linear-gradient(90deg,transparent,rgba(0,0,0,.04),transparent);bottom:0;content:\"\";left:0;position:absolute;right:0;top:0;transform:translateX(-100%)}@-webkit-keyframes animation-pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}@-webkit-keyframes animation-wave{0%{transform:translateX(-100%)}60%{transform:translateX(100%)}to{transform:translateX(100%)}}"]
            }] }
];
/** @nocollapse */
TlSkeleton.ctorParameters = () => [];
TlSkeleton.propDecorators = {
    variant: [{ type: Input }],
    animation: [{ type: Input }],
    width: [{ type: Input }],
    height: [{ type: Input }]
};
if (false) {
    /** @type {?} */
    TlSkeleton.prototype.variant;
    /** @type {?} */
    TlSkeleton.prototype.animation;
    /** @type {?} */
    TlSkeleton.prototype.width;
    /** @type {?} */
    TlSkeleton.prototype.height;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2tlbGV0b24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy90cnVseS11aS9zcmMvY29tcG9uZW50cy9za2VsZXRvbi9za2VsZXRvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQXNCQSxPQUFPLEVBQU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