/**
 * @fileoverview added by tsickle
 * Generated from: components/loader/loader.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 TlLoader {
    constructor() {
        this.color = '#ccc';
        this.strokeWidth = 5;
    }
    /**
     * @return {?}
     */
    ngOnInit() { }
}
TlLoader.decorators = [
    { type: Component, args: [{
                selector: 'tl-loader',
                template: "<svg class=\"spinner\" viewBox=\"0 0 50 50\">\n  <circle class=\"path\"\n          cx=\"25\"\n          cy=\"25\"\n          r=\"20\"\n          fill=\"none\"\n          [attr.stroke]=\"color\"\n          [attr.stroke-width]=\"strokeWidth\">\n  </circle>\n</svg>\n",
                styles: [".spinner{-webkit-animation:rotate 2s linear infinite;animation:rotate 2s linear infinite;min-height:100%;min-width:100%;z-index:2}.spinner .path{-webkit-animation:dash 1.5s ease-in-out infinite;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round}@-webkit-keyframes rotate{to{transform:rotate(1turn)}}@keyframes rotate{to{transform:rotate(1turn)}}@-webkit-keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}"]
            }] }
];
/** @nocollapse */
TlLoader.ctorParameters = () => [];
TlLoader.propDecorators = {
    color: [{ type: Input }],
    strokeWidth: [{ type: Input }]
};
if (false) {
    /** @type {?} */
    TlLoader.prototype.color;
    /** @type {?} */
    TlLoader.prototype.strokeWidth;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJ1bHktdWkvc3JjL2NvbXBvbmVudHMvbG9hZGVyL2xvYWRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQXNCQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQU96RCxNQUFNLE9BQU8sUUFBUTtJQU1uQjtRQUpTLFVBQUssR0FBRyxNQUFNLENBQUM7UUFFZixnQkFBVyxHQUFHLENBQUMsQ0FBQztJQUVWLENBQUM7Ozs7SUFFaEIsUUFBUSxLQUFJLENBQUM7OztZQWJkLFNBQVMsU0FBQztnQkFDVCxRQUFRLEVBQUUsV0FBVztnQkFDckIsb1JBQTRCOzthQUU3Qjs7Ozs7b0JBR0UsS0FBSzswQkFFTCxLQUFLOzs7O0lBRk4seUJBQXdCOztJQUV4QiwrQkFBeUIiLCJzb3VyY2VzQ29udGVudCI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