/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes} 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">
  <span>{{text}}</span>
  <span class="ix-spinning-outer">
    <mat-spinner [diameter]="18" [strokeWidth]="1"></mat-spinner>
  </span>
</button>
`,
                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 },],
};
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Bpbm5pbmctYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B1aXV4L21hdGVyaWFsLyIsInNvdXJjZXMiOlsibGliL3NwaW5uaW5nLWJ1dHR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