/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes} 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",
                    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}"],
                    encapsulation: ViewEncapsulation.None,
                    preserveWhitespaces: false,
                    changeDetection: ChangeDetectionStrategy.OnPush,
                },] },
    ];
    /** @nocollapse */
    SpSpinningButtonComponent.propDecorators = {
        "text": [{ type: Input },],
        "backgroundColor": [{ type: Input },],
    };
    return SpSpinningButtonComponent;
}());
export { SpSpinningButtonComponent };
function SpSpinningButtonComponent_tsickle_Closure_declarations() {
    /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
    SpSpinningButtonComponent.decorators;
    /**
     * @nocollapse
     * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>)})>}
     */
    SpSpinningButtonComponent.ctorParameters;
    /** @type {!Object<string,!Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
    SpSpinningButtonComponent.propDecorators;
    /** @type {?} */
    SpSpinningButtonComponent.prototype.text;
    /** @type {?} */
    SpSpinningButtonComponent.prototype.backgroundColor;
}

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Bpbm5pbmctYnV0dG9uLmNvbXBv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