/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
/**
 * @license
 * Copyright UIUX Engineering All Rights Reserved.
 */
import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';
var SpSpinningButtonComponent = /** @class */ (function () {
    function SpSpinningButtonComponent() {
    }
    SpSpinningButtonComponent.decorators = [
        { type: Component, args: [{
                    selector: 'ix-spinning-button',
                    template: "<button mat-raised-button color=\"{{backgroundColor}}\" class=\"ix-spinning-button\">\n  <span>{{text}}</span>\n  <span class=\"ix-spinning-outer\">\n    <mat-spinner [diameter]=\"18\" [strokeWidth]=\"1\"></mat-spinner>\n  </span>\n</button>\n",
                    encapsulation: ViewEncapsulation.None,
                    preserveWhitespaces: false,
                    changeDetection: ChangeDetectionStrategy.OnPush,
                    styles: [".ix-spinning-button{cursor:default}.ix-spinning-button .ix-spinning-outer{position:absolute;left:0;width:100%}.ix-spinning-button .ix-spinning-outer .mat-spinner{position:relative;top:10px;display:table;margin:0 auto}"]
                }] }
    ];
    SpSpinningButtonComponent.propDecorators = {
        text: [{ type: Input }],
        backgroundColor: [{ type: Input }]
    };
    return SpSpinningButtonComponent;
}());
export { SpSpinningButtonComponent };
if (false) {
    /** @type {?} */
    SpSpinningButtonComponent.prototype.text;
    /** @type {?} */
    SpSpinningButtonComponent.prototype.backgroundColor;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Bpbm5pbmctYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B1aXV4L21hdGVyaWFsLyIsInNvdXJjZXMiOlsibGliL3NwaW5uaW5nLWJ1dHRvbi9zcGlubmluZy1idXR0b24uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBS0EsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFB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