/**
 * @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';
export class 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 }]
};
if (false) {
    /** @type {?} */
    SpSpinningButtonComponent.prototype.text;
    /** @type {?} */
    SpSpinningButtonComponent.prototype.backgroundColor;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Bpbm5pbmctYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B1aXV4L21hdGVyaWFsLyIsInNvdXJjZXMiOlsibGliL3NwaW5uaW5nLWJ1dHRvbi9zcGlubmluZy1idXR0b24uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBS0EsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFVN0YsTUFBTSxPQUFPLH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